No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
KotlinNative @ f1b2318
Library
Sample Project
.gitignore
.gitmodules
README.md
setup.sh

README.md

Kotlin-Native-with-Swift

Sample project showcasing the Kotlin/Native code running as a library inside of an existing iOS app.

Blog Post detailing the procedure can be found at justmaku.org

Preparation

Run setup.sh script to download and build Kotlin/Native compiler and it's dependencies.

Compiling Kotlin Code

Modify Library/kotlin.kt file and run build.sh script inside of the Library directory to produce kotlin.a binary.

Compiling Swift Project

After setting up the toolchain and compiling kotlin library, open Sample Project\Kotlin Native.xcodeproj in Xcode 9 (newest beta should work) and run on an 64-bit device (simulators not supported)