Samples
This is a curated list of Kotlin Multiplatform Mobile samples.
Do you have a great sample that's a little different from the ones shown here? Feel free to create a pull request and tell us about it! You can use this PR example for reference.
Sample name | What's shared? | Popular libraries used | UI Framework | iOS integration | Platform APIs | Tests | JS target | Features |
---|---|---|---|---|---|---|---|---|
Algorithms | - | XML, SwiftUI | Xcode build phases | ✅ | - | - |
| |
Models, Networking, Data Storage, UI State | SQLDelight, Ktor, DateTime, multiplatform-settings, Napier, kotlinx.serialization | Jetpack Compose, SwiftUI | Xcode build phases | ✅ | - | - |
| |
Models, Networking, Data Storage, ViewModels | Koin, SQLDelight, Ktor, DateTime, multiplatform-settings, Kermit | Jetpack Compose, SwiftUI | CocoaPods | - | ✅ | - | - | |
Models, Networking, Data Storage, ViewModels | Moko Libraries, Ktor, multiplatform-settings | - | CocoaPods | - | ✅ | - |
| |
Models, Networking, Data Storage | Koin, SQLDelight, Ktor | Jetpack Compose, SwiftUI | CocoaPods, Swift Packages | - | ✅ | ✅ |
| |
Models, Networking, Interactors | Ktor | XML, UIKit | Xcode build phases | - | - | ✅ |
| |
Networking, Data Storage, ViewModels, Navigation | SQLDelight, Ktor, DateTime, multiplatform-settings | Jetpack Compose, SwiftUI | Xcode build phases | - | ✅ | ✅ |
| |
Models, Networking, Data Storage, Interactors | SQLDelight, Ktor, DateTime | Jetpack Compose, SwiftUI | CocoaPods | - | - | - | - | |
Networking | Ktor, kotlinx.serialization, Napier | XML, SwiftUI | Xcode build phases | - | - | - | ||
Models, Networking, Data Storage, Algorithms, ViewModels | Ktor, SQLDelight, koin, moko-resources, kotlinx.datetime, multiplatform-settings | XML, SwiftUI | CocoaPods | ✅ | ✅ | - |
| |
Models, Networking, Presentation, Navigation and UI | SQLDelight, Decompose, MVIKotlin, Reaktive | Jetpack Compose, SwiftUI | Xcode build phases | - | ✅ | ✅ |
| |
Models, Networking, ViewModels, UI State | Ktor, kotlinx.serialization | XML, SwiftUI | CocoaPods | - | - | - |
| |
Models, Networking, Data Storage, UI State | SQLDelight, Ktor, kotlinx.serialization | XML, UIKit | CocoaPods | ✅ | ✅ | - |
| |
Models, Networking, Data Storage, ViewModels | Ktor, multiplatform-settings, kotlinx.serialization | Jetpack Compose, SwiftUI | Xcode build phases | ✅ | ✅ | - |
| |
Models, Networking, Data Storage | kotlinx.serialization, Ktor, Koin, SQLDelight | Jetpack Compose, SwiftUI, ReactJS | CocoaPods, Swift Packages | ✅ | - | ✅ |
| |
Models, Networking, Data Storage | Realm-Kotlin, Ktor, kotlinx.serialization | Jetpack Compose, SwiftUI | CocoaPods | - | - | - |
| |
Models, Networking, Caching, ViewModels | Koin, Ktor, Multiplatform settings, kotlinx.coroutines, kotlinx.serialization, kotlinx.datetime, Napier | Jetpack Compose-Android, Compose Multiplatform-Desktop | - | ✅ | - | ✅ |
| |
ViewModels, Networking, Data Storage | SQLDelight, Ktor, Koin, kotlinx.serialization, moko-resources, | Jetpack Compose, SwiftUI | CocoaPods | ✅ | Android only | ✅ |
| |
Algorithms | - | - | - | ✅ | - | ✅ |
|