Is it no longer possible to create a KMP project t...
# multiplatform
j
Is it no longer possible to create a KMP project that does not use compose/swiftui? The KMP wizard only has choices for compose UI and I want to use the Android view system along with Swift view controllers and native JVM UI components.
p
You could just create the project and then add whatever UI system you want to each project.
💯 2
j
What does that configuration look like then, I am not confident I would be able to set that up correctly
p
When you create a project you end up with a shared Kotlin module, an Android app module and an Xcode project. For the Android app, there is no significant difference from any other Android app, the shared module is just a normal project dependency as any other multi module project. My knowledge of iOS is significantly less but I think there is also little difference, the project is just auto configured with a build step to build the shared module.
j
What about adding a desktop JVM module
p
I haven't personally used anything beyond mobile, this might help: https://www.jetbrains.com/help/kotlin-multiplatform-dev/multiplatform-samples.html However, they all use Compose, Swift UI or Compose Multiplatform, you might not find many examples using legacy UI toolkits.