kotlin-multiplatform-sample
kotlin-multiplatform-sample copied to clipboard
Example code for Clean Multiplatform Architecture with Kotlin
Clean Architecture With Kotlin Multiplatform Example
A minimal example app for Android and iOS, based on the MVVM pattern and using Kotlin Multiplatform.
For more information, see blog post: https://www.inovex.de/blog/kotlin-multiplatform-for-clean-architecture/
Android
Use Android studio to open the project's root folder. Build and run the app configuration.
iOS
To build the app for iOS, you need a machine with OS X, Xcode the Xcode developer tools.
- open terminal and navigate to root folder
- run
./gradlew packForXcode - open project in Xcode, located in
native/CPSample/ - build and run