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.
 
 
 
 
Ivan Matkov 60914ecac7
Update examples to 1.6.10 (#4843)
6 months ago
..
.run
androidApp Add org.gradle.toolchains.foojay-resolver-convention to the examples (#3666) 1 year ago
desktopApp
gradle/wrapper Migrate all samples to the new resources library (#4386) 9 months ago
iosApp
jsApp
shared Migrate all samples to the new resources library (#4386) 9 months ago
.gitignore
README.md
build.gradle.kts
gradle.properties Update examples to 1.6.10 (#4843) 6 months ago
gradlew
gradlew.bat
run-configurations.png
settings.gradle.kts

README.md

Chat example app

SwiftUI interop

This example shows how you can set up an interop between SwiftUI and Compose. Pay attention to the file ComposeViewControllerToSwiftUI.swift. This file helps to add Compose inside SwiftUI hierarchy.

Example can run on Android, iOS, desktop or in a browser.

Setting up your development environment

To setup the environment, please consult these instructions.

How to run

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

run-configurations.png

Run on desktop via Gradle

./gradlew desktopApp:run

Run MacOS via Gradle:

  • on Intel CPU: ./gradlew :shared:runDebugExecutableMacosX64
  • on Apple Silicon: ./gradlew :shared:runDebugExecutableMacosArm64