Best Practices for Developing Amazing Kotlin Multiplatform Apps
summary
Shared Kotlin code lives in a single module compiled into platform artifacts (Jar/AAR for Android, framework/CocoaPod for iOS) while UI can be fully shared with Compose Multiplatform or limited to view layer only, demonstrated by a sample app that runs on Android (shows SDK 33), macOS and iOS (shows 17.0.1) with a toggle animation. Platform differences use expect/actual declarations for things like getPlatformName. Async patterns compare suspend functions, KMP native coroutines (cancellation support) and Touchlab’s Sky-style Swift interop for flows and async sequences.
AI-written summary · about
chapters (12)
- 0:00Intro
- 0:18What is Kotlin Multiplatform
- 4:08Demo
- 11:14Getting Started
- 12:31Using Expect Actual
- 19:59Cortines
- 27:44Flows
- 29:09iOS
- 30:19Sky
- 30:58Which approach should you choose
- 32:30Call to action
- 32:57Questions
related talks
48mEffective Multiplatform Kotlin Development
22mArchitecting a Kotlin Multiplatform App
35mIntro to Kotlin Multiplatform
17mKotlin Multiplatform – Sharing is caring!
36mGoing Multiplatform with Kotlin
32m10 myths about crossplatform mobile development with Kotlin
31mKotlin Multiplatform for iOS: Myths vs Reality
36mEntering the World of Other Platforms Through KMP Gate
