Kotlin and Compose Multiplatform patterns for iOS interop
summary
Kotlin 2.2.20 ships experimental Swift export while production teams rely on third‑party fixes: Sky (Swift‑Kotlin Interop Enhancer) restores sealed‑class exhaustivity, default args and coroutine mapping; KMP Native Coroutines / KMP Observable ViewModel provide proper cancellation and convert suspend/flow to Swift async/AsyncSequence; Compose on iOS uses Compose UIViewController ↔ UIHostingController bridge to embed UI both ways; Swift implementations of Kotlin interfaces are injected via Koin; build options are XCFramework/Swift Package; CI tooling includes XcodeKotlin, JetBrains KMP plugin and Fastlane + match.
AI-written summary · about
chapters (11)
- 0:00Kotlin & Compose on iOS intro
- 3:35Kotlin Native & Swift interop
- 7:27Sky framework for Swift
- 9:51Concurrency & interop patterns
- 15:49Swift in Kotlin code
- 19:37Compose UI with SwiftUI
- 28:50iOS background tasks
- 30:36Testing KMP & CMP apps
- 32:01Kotlin on iOS tools
- 33:08Building iOS apps with KMP
- 37:22Summary & Q&A
related talks
39mKotlin and Compose Multiplatform patterns for iOS interop
45mCompose Multiplatform on iOS
36mBest Practices for Developing Amazing Kotlin Multiplatform Apps
44mThe Future of Android, Kotlin, and Everything
43mKotlin Multiplatform at Stable and Beyond
45mThe Adventures of Kotlin And Compose Through the Multiplatform World
42mKeynote: Kotlin and the Multiplatform Future
31mKotlin Multiplatform for iOS: Myths vs Reality
