I’m looking to use `PropertyListEncoder` <https://...
# multiplatform
m
I’m looking to use
PropertyListEncoder
https://developer.apple.com/documentation/foundation/propertylistencoder in my shared module, in the
iosApp
sourceset. It appears that it’s not included, or at least I cannot import it. Should it be available?
I tested out importing this and that to have an idea of what can and cannot be done, at least the following work nicely
Copy code
import platform.Foundation.NSCoder
import platform.Foundation.NSData
import platform.UIKit.UIImage
import platform.UIKit.UIImageJPEGRepresentation
import platform.UIKit.UIImagePNGRepresentation
t
Codables
are a Swift API, Kotlin/Native interops only with Objective C.
NSCoder
afaik is an older Objective C API.
m
That's what I was wondering but wasn't sure. Thanks for the clarification