tieskedh
02/17/2021, 7:27 PMJeff Lockhart
02/18/2021, 4:37 PMNSData to ByteArray. I also figured out how to do the same thing with CFDataRef.Sam
02/18/2021, 4:53 PMexpect/actual features of KMP. If the data reading class will be given to the calling code as a dependency, a simple interface will work fine. One nice thing about the interface approach is that it doesn’t matter if the interface is implemented in Kotlin, Swift or ObjC. Sometimes it is easier to work with the Cocoa apis using Swift rather than Kotlin.