Declarative UI ❤️ Kotlin Multiplatform!
summary
Live-codes a tiny “People in Space” app that shares non‑UI Kotlin Multiplatform code and runs on Android and iOS, using Kotlin Multiplatform, Jetpack Compose and SwiftUI. Uses Ktor + kotlinx.serialization for the public people API, Koin for DI, Coil for images (images come from a static URL map), and SQLDelight to persist data as a Flow so UI updates automatically. Builds an iOS framework from the common module, suspend functions are callable from Swift, and both emulators run successfully; three new astronauts appear during the demo.
AI-written summary · about
