Is it possible to use swift's Codable from kotlin?
# multiplatform
c
Is it possible to use swift's Codable from kotlin?
o
Is it available to Objective-C?
s
No, so it is not possible.
c
thanks!
a
@svyatoslav.scherbina I found on the Kotlin website "Kotlin/Native provides bi-directional interoperability with Objective-C/Swift" so why are you say he can't use Swift in Kotlin? or he means using swift code not classes?
s
@amorenew It is possible to use
@objc
-annotated Swift declarations in Kotlin, as mentioned in (the beginning of) the documentation: http://kotlinlang.org/docs/reference/native/objc_interop.html
👍 1
a
"Pure Swift modules are not yet supported" is supporting pure swift in the roadmap?
o
Not immediately, but we consider such possibility
👏 1
a
Considering iOS devs have mostly moved to Swift, I'd consider it a necessity that it can interop with the Swift apis
❤️ 1
s
Swift is very much a moving target even for Swift devs.
👍 1