SwiftUI meets Kotlin Multiplatform!
summary
Explores a working iOS app that consumes a shared Kotlin Multiplatform repository to show bus routes, using SwiftUI views bound to an ObservableObject with @Published list updates and EnvironmentObject injection so UI updates automatically after fetch. Shared code uses SQLDelight for persistence and Ktor client for network calls while Android keeps Retrofit; Kotlin exposes a suspend fetch plus a lambda overload for iOS. Uses Xcode beta, CocoaPods and Touchlab plugins to build and debug the multiplatform module.
AI-written summary · about
chapters (11)
- 0:00Introduction and background
- 1:15Recent tech developments
- 4:41Example app context
- 6:04What is SwiftUI
- 7:49Architecture alignment
- 10:39SwiftUI code evolution
- 12:44Data flow with SwiftUI
- 13:47Coroutines in multiplatform
- 14:08Xcode plugins for Kotlin
- 15:10Platform-specific code
- 15:50Resources and Q&A
related talks
39mAnd That, Folks, is How We Shared Code Between Android, iOS and the Backend
25mKotlin Multiplatform Mobile in production: key takeaways from developing two cross-platform apps
26mKotlin Multiplatform in an MVVM World
23mKotlin Multiplatform Mobile in production: key takeaways from developing two cross-platform apps
48mEffective Multiplatform Kotlin Development
36mGoing Multiplatform with Kotlin
27mAn Android Dev start to Kotlin Multiplatform
46mThe Hitchhikers Guide Through Kotlin Multiplatform
