Given I have a multiplatform project with a `nativ...
# kotlin-native
t
Given I have a multiplatform project with a
native
aka
iOS
module. I know that I am able do Objective-C calls from my kotlin code. I can even import classes from the
UIKit
etc. . But how does that work? Is it related to the interoperability which generates kotlin bindings based on the specified
konan.target
?
o
It work using interoprabilty mechanisms described in https://github.com/JetBrains/kotlin-native/blob/master/INTEROP.md, for some libraries we pregenerate bindings and ship them with Kotlin/Native distro
👍 1