You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
dima.avdeev 08e03e7c04
UIKit samples, change deprecated annotation @UIApplicationMain -> @main (#2800)
2 years ago
..
.run Rename xcode projects to iosApp and remove ios run configurations (#2629) 2 years ago
androidApp Move examples to V2 Source Set Layout (#2765) 2 years ago
desktopApp Refactor todoapp-lite to follow KMM structure and add iOS target (#2536) 2 years ago
gradle/wrapper Copy todoapp-lite to experimental examples as is (#2521) 2 years ago
iosApp UIKit samples, change deprecated annotation @UIApplicationMain -> @main (#2800) 2 years ago
screenshots Refactor todoapp-lite to follow KMM structure and add iOS target (#2536) 2 years ago
shared expemintal samples: add forgotten isStatic=true to cocoapods.framework configuration (#2634) 2 years ago
.gitignore Rename xcode projects to iosApp and remove ios run configurations (#2629) 2 years ago
README.md Rename xcode projects to iosApp and remove ios run configurations (#2629) 2 years ago
build.gradle.kts fix examples with Kotlin Native issue (#2534) 2 years ago
gradle.properties Move examples to V2 Source Set Layout (#2765) 2 years ago
gradlew Copy todoapp-lite to experimental examples as is (#2521) 2 years ago
gradlew.bat Copy todoapp-lite to experimental examples as is (#2521) 2 years ago
run-configurations.png Refactor todoapp-lite to follow KMM structure and add iOS target (#2536) 2 years ago
settings.gradle.kts Refactor todoapp-lite to follow KMM structure and add iOS target (#2536) 2 years ago

README.md

TodoApp (lite version)

A simplified version of the TodoApp example, fully based on Jetpack Compose and without using any third-party libraries.

Supported targets: Android, Desktop and iOS.

How to run

Choose a run configuration for an appropriate target in IDE and run it.

run-configurations.png

To run on iOS device, please correct iosApp/Configuration/TeamId.xcconfig with your Apple Team ID. Alternatively, you may setup signing within XCode opening iosApp/iosApp.xcworkspace and then using "Signing & Capabilities" tab of iosApp target.

Then choose iosApp configuration in IDE and run it.

Run on desktop via Gradle

./gradlew desktopApp:run

Building native desktop distribution

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

Desktop