Hello, Everyone
I am trying Kotlin-Native because I am very interesting in creating multiplatform apps for iOS and Android. As soon as Kotlin-Native become available I tried to setup multiplatform project with common code module.
- I created a Kotlin (Multiplatform-Experiment) project with IDEA. It had two platform specific modules - jvm (for Android) and js (I just ignore it) and common module.
- Created new project in Android Studio and imported common and jvm module from previous step
- Implemented project for android side. All UI code is in Android Studio project, code that supposed to be common - in common module. For logic that supposed to be platform specific common module use expect class syntax and those classes implemented in jvm module.
Now, I wanted to implement iOS part in AppCode. How I should import common module and implement platform specific logic?
Or maybe I am doing it all wrong and multiplatform project should be implemented using different flow?
I tried to look into Spinner App from Kotlin Conference, but it's so big for me where are many parts and I can't understand how to implement only two projects for client-side.
Thanks for your help.