Gabriel Souza | KotlinConf 2024, May 22–24, Copenhagen
all speakers

Gabriel Souza

Gabriel Souza

KMP Developer at Touchlab

I started out by modding Minecraft servers with Java, then discovered Kotlin and never looked back, integrating it where possible. Since 2018, I have been working as an Android developer and maintaining open-source libraries, such as Voyager and Compose Icons.

Multiplatform Compose + SwiftUI = The Native App Future

KMP’s killer feature: Interop. It avoids 3 big traps of other “cross-platform” tools. KMP:

  1. Plays well with the native platform
  2. Blends well with native code
  3. 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.