has anyone done any work with using protos for int...
# kotlin-native
c
has anyone done any work with using protos for interop between KN and objective-c? is there any working way to pass protos to kotlin native? kotlinx.serialization looks close, but wouldn't that require that all clients convert to bytes first?
o
not sure why there's anything special to do that. Protobuf is just byte format, and as any bytes it could be passed via interop.
c
we have compiled protos (objc classes) we'd want to pass to the kotlin native side. but yeah, we could do a
toBytes
first (or similar)
n
Or you could move all your business logic to the K/N side, that way it will be more effective.