Home

Awesome

An example of Kotlin Multiplatform todo app with shared Android/Desktop Compose UI and SwiftUI (not Compose) iOS.

Previously this code was located in [JetBrains/compose-multiplatform] repository.

But it was deleted in this commit

I've copied it to a separate repo and maintaining it here now.

This example supports the following targets:

Libraries used:

There are multiple modules:

The root module is integrated into Android, Desktop and iOS (non-Compose) apps.

Features:

Running desktop application

Building native desktop distribution

./gradlew :desktop:packageDistributionForCurrentOS
# outputs are written to desktop/build/compose/binaries

Running Android application

Open project in Intellij IDEA or Android Studio and run "android" configuration.

Running Web browser application

Running iOS SwiftUI application

Open and build the Xcode project located in ios folder.

Running iOS Compose Multiplatform application

Open and build the Xcode project located in ios-compose folder.

Desktop