样例
This is a curated list of Kotlin Multiplatform Mobile samples.
Do you have a great sample that you would like to add to the list?
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 |
Kotlin Multiplatform Mobile Sample | Algorithms | - | XML, SwiftUI | Xcode build phases | ✅ | - | - |
|
KMM RSS Reader | Models, Networking, Data Storage, UI State | SQLDelight, Ktor, DateTime, multiplatform-settings, Napier, kotlinx.serialization | Jetpack Compose, SwiftUI | Xcode build phases | ✅ | - | - |
|
KaMPKit | Models, Networking, Data Storage, ViewModels | Koin, SQLDelight, Ktor, DateTime, multiplatform-settings, Kermit | Jetpack Compose, SwiftUI | CocoaPods | - | ✅ | - | - |
moko-template | Models, Networking, Data Storage, ViewModels | Moko Libraries, Ktor, multiplatform-settings | - | CocoaPods | - | ✅ | - |
|
PeopleInSpace | Models, Networking, Data Storage | Koin, SQLDelight, Ktor | Jetpack Compose, SwiftUI | CocoaPods, Swift Packages | - | ✅ | ✅ |
|
GitFox SDK | Models, Networking, Interactors | Ktor | XML, UIKit | Xcode build phases | - | - | ✅ |
|
D-KMP-sample | Networking, Data Storage, ViewModels, Navigation | SQLDelight, Ktor, DateTime, multiplatform-settings | Jetpack Compose, SwiftUI | Xcode build phases | - | ✅ | ✅ |
|
Food2Fork Recipe App | Models, Networking, Data Storage, Interactors | SQLDelight, Ktor, DateTime | Jetpack Compose, SwiftUI | CocoaPods | - | - | - | - |
kmm-ktor-sample | Networking | Ktor, kotlinx.serialization, Napier | XML, SwiftUI | Xcode build phases | - | - | - | |
Currency Converter Calculator | Models, Networking, Data Storage, Algorithms, ViewModels | Ktor, SQLDelight, koin, moko-resources, kotlinx.datetime, multiplatform-settings | XML, SwiftUI | CocoaPods | ✅ | ✅ | - |
|
todoapp | Models, Networking, Presentation, Navigation and UI | SQLDelight, Decompose, MVIKotlin, Reaktive | Jetpack Compose, SwiftUI | Xcode build phases | - | ✅ | ✅ |
|
kmm-arch-demo | Models, Networking, ViewModels, UI State | Ktor, kotlinx.serialization | XML, SwiftUI | CocoaPods | - | - | - |
|
Codeforces WatchR | Models, Networking, Data Storage, UI State | SQLDelight, Ktor, kotlinx.serialization | XML, UIKit | CocoaPods | ✅ | ✅ | - |
|
CatViewerDemo | Models, Networking, Data Storage, ViewModels | Ktor, multiplatform-settings, kotlinx.serialization | Jetpack Compose, SwiftUI | Xcode build phases | ✅ | ✅ | - |
|
Praxis KMM | Models, Networking, Data Storage | kotlinx.serialization, Ktor, Koin, SQLDelight | Jetpack Compose, SwiftUI, ReactJS | CocoaPods, Swift Packages | ✅ | - | ✅ |
|
Bookshelf | Models, Networking, Data Storage | Realm-Kotlin, Ktor, kotlinx.serialization | Jetpack Compose, SwiftUI | CocoaPods | - | - | - |
|
kotlin-with-cocoapods-sample | - | - | - | CocoaPods | ✅ | - | - | - |
multitarget-xcode-with-kotlin-cocoapods-sample | - | - | - | CocoaPods | - | - | - | - |
mpp-sample-lib | Algorithms | - | - | - | ✅ | - | ✅ |
|