https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
c

coletz

10/16/2018, 6:30 PM
Is it possible to use swift's Codable from kotlin?
o

olonho

10/17/2018, 7:45 AM
Is it available to Objective-C?
s

svyatoslav.scherbina

10/17/2018, 7:45 AM
No, so it is not possible.
c

coletz

10/17/2018, 9:10 AM
thanks!
a

amorenew

10/17/2018, 10:08 AM
@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

svyatoslav.scherbina

10/17/2018, 10:16 AM
@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

amorenew

10/17/2018, 10:18 AM
"Pure Swift modules are not yet supported" is supporting pure swift in the roadmap?
o

olonho

10/17/2018, 10:55 AM
Not immediately, but we consider such possibility
👏 1
a

agrosner

10/17/2018, 11:38 AM
Considering iOS devs have mostly moved to Swift, I'd consider it a necessity that it can interop with the Swift apis
❤️ 1
s

Sam

10/17/2018, 4:56 PM
Swift is very much a moving target even for Swift devs.
👍 1
7 Views