iOS Architecture with Multiplatform
summary
Argues that Kotlin Multiplatform already enables sharing real app guts — networking, storage, threading — by producing an Xcode framework consumed from Swift and an Android artifact; demos include the Droidcon and Drake apps using SQLDelight (ported “narc” DB), multi-platform-settings, Ktor for networking and generated JSON serializers. Tooling is usable but immature: IntelliJ multiplatform plugin exists, Gradle plugins are unstable, co-routines lack robust multi-threaded native support and require careful thread freezing and workers handling. Incremental adoption and native interoperability work well.
AI-written summary · about
chapters (34)
- 0:00Intro
- 0:13AMERICAN EXPRESS
- 5:25Mobile & Web Architecture, not UI
- 5:53Java Compiler
- 7:14Web is more difficult No SQL
- 7:52Advocate for new standards AKA The Long Game
- 9:06Funky Code Testbed
- 9:27Droidcon NYC & SF
- 11:53Droidcon App Kotlin Multiplatform
- 12:31KOTLINCONF WITH
- 14:31SHARED CODE
- 19:14Reference Counting but not your reference counting
- 19:36No Reference Cycles
- 21:04Threading is Different that's for everybody
- 22:45IDE TOOLS
- 22:57Multiplatform IDE Intellij community and Android Studiol
- 23:22Multiplatform Gradle new and changing
- 29:23Sqldelight A Multiplatform Delight
- 31:39KNArch.threads Kotlin Native Architecture - Threads
- 33:25Multiplatform Settings Really Shared Preferences
- 33:47Timber Multiplatform logging
- 34:05Atomic Fu Atomic operation support
- 34:19Kotlinx.io multiplatform I/O library
- 35:48Stable Gradle Plugins I know, but
- 36:27Significant Library Examples With publishing, for all targets
- 36:49Multithreaded Native Coroutines If I get 1 thing for Christmas...
- 37:42Mocking Library See mockk repo
- 38:09Dependency Injection Or service locator I guess...
- 38:27Build Instrumentation kapt, compiler plugins
- 38:46UI Stuff Here be dragons
- 39:26Getting Started
- 39:45Kotlin/Native Docs Learn threads and state
- 40:03For Libraries? Multiplatform Settings (then the rest)
- 40:39Join the Kotlin Slack
related talks
52mIntroducing Kotlin Multiplatform in an existing project
31mKotlin Multiplatform for iOS: Myths vs Reality
35mIntro to Kotlin Multiplatform
28mArchitectures with Kotlin Multiplatform
36mIntroducing Kotlin Multiplatform in an existing project
48mEffective Multiplatform Kotlin Development
31mKotlin Multiplatform
41mKotlin Multiplatform In Production
