Jetpack Compose and SwiftUI based Kotlin Multiplatform sample project (based on CityBikes API).
Running on
- iOS (SwiftUI)
- Android (Jetpack Compose)
- Desktop (Compose for Desktop)
- Web (Wasm based Compose for Web)
- Swift Executable Package
Related posts:
- Using SwiftUI and Compose to develop App Widgets on iOS and Android
- Bridging the gap between Swift 5.5 concurrency and Kotlin Coroutines with KMP-NativeCoroutines
- Creating a Swift command line app that consumes Kotlin Multiplatform code - Part 2
- Using kotlin-inject in a Kotlin/Compose Multiplatform project
Need to use at least Android Studio Arctic Fox to build/run the Android client.
Requires Xcode 13.2 or later (due to use of new Swift 5.5 concurrency APIs). When opening iOS project remember to open .xcworkspace
file (and not .xcodeproj
one)
This client is available in compose-desktop
module. Note that you need to use appropriate version of JVM when running (works for example with Java 11)
Note that this makes use of https://github.com/Shusshu/android-flags for flag images shown.
- PeopleInSpace (https://github.com/joreilly/PeopleInSpace)
- GalwayBus (https://github.com/joreilly/GalwayBus)
- Confetti (https://github.com/joreilly/Confetti)
- BikeShare (https://github.com/joreilly/BikeShare)
- FantasyPremierLeague (https://github.com/joreilly/FantasyPremierLeague)
- ClimateTrace (https://github.com/joreilly/ClimateTraceKMP)
- GeminiKMP (https://github.com/joreilly/GeminiKMP)
- MortyComposeKMM (https://github.com/joreilly/MortyComposeKMM)
- StarWars (https://github.com/joreilly/StarWars)
- WordMasterKMP (https://github.com/joreilly/WordMasterKMP)
- Chip-8 (https://github.com/joreilly/chip-8)