Hello guys. I’m working on a multiplatform library...
# multiplatform
d
Hello guys. I’m working on a multiplatform library. I have a method on my common module that returns
ByteArray
. When I import the framework from an iOS project, the ByteArray is converted to
KotlinByteArray
but I thought I would have a
NSData
in swift 😢 I think a solution would be to pass the ByteArray encoded as
Base64
. Is there a better way to convert a ByteArray to NSData?
d
d
Thanks for the link Dominic!
d
No problem.