https://kotlinlang.org logo
Title
t

Tobi

02/13/2018, 5:10 PM
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

olonho

02/14/2018, 7:28 AM
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