Gustavo Fão Valvassori
KMP Developer at Touchlab
I started learning Mobile App Development in 2012, dreaming of the possibility of using Mobile for everything. With that goal, I've already tested and used many different mobile frameworks and platforms. Since 2018, I've been focused on Kotlin Development.
Multiplatform Compose + SwiftUI = The Native App Future
KMP’s killer feature: Interop. It avoids 3 big traps of other “cross-platform” tools. KMP:
- Plays well with the native platform
- Blends well with native code
- Is optional. Can be as “native” as you need.
With KMP Compose, that flexibility moves to the screen.
Compose and SwiftUI can work together. Render “native” UI or shared Compose UI, with the same underlying logic. Make more UI “native”, or build more features with shared UI, and make those decisions incrementally.
Ultimate Flexibility = Maximum Efficiency + Maximum Quality.
In this lab, we will:
- Create screens with KMP Compose
- Replace UI with SwiftUI, using the same KMP logic
- Discuss the current state-of-the-art, and what’s coming soon…
Required reading and prerequisites are posted here: https://touchlab.co/codelabs.