Series
KMP 102
Take Kotlin Multiplatform to iOS: modularize a shared codebase, consume Kotlin from Swift, and optimize the XCFramework you ship to an Xcode project.
5 parts 34 min read Intermediate Source code RSS
Start the series →Before this series
What you'll learn
- Modularize a Kotlin Multiplatform codebase for scale
- Consume Kotlin APIs from Swift and tune the Obj-C/Swift export
- Build and optimize an XCFramework for iOS consumers
In this series
-
Part 1 4 min read
KMP-102 - XCFramework for KMP Devs
Welcome to the KMP-102 series. We dig deeper into Kotlin Multiplatform concepts, learning more about how to integrate our Kotlin code into iOS and beyond.
-
Part 2 10 min read
KMP-102 - Characteristics of the XCFramework in KMP
In the previous post, we learned how Kotlin/Native exports a collection of .frameworks in the XCFramework format.
-
Part 3 8 min read
KMP-102 - Using Kotlin Code in Swift
In the last post, we learned how to create an XCFramework from Kotlin code and explored some characteristics of the generated build types.
-
Part 4 6 min read
KMP-102 - Optimizing Kotlin for Obj-C/Swift
In the last post, we learned how to use Kotlin code in Swift, some techniques to improve the code exported to Swift, and how annotations control its…
-
Part 5 6 min read
KMP-102 - Modularization in KMP
In the last article we dug into the quirks of code exported to Objective-C headers, along with the best practices for what to export…