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.
Igor Demin
43a4086ba4
|
10 months ago | |
---|---|---|
.. | ||
.run | 1 year ago | |
androidApp | 1 year ago | |
desktopApp | 1 year ago | |
gradle/wrapper | 1 year ago | |
iosApp | 1 year ago | |
jsApp | 1 year ago | |
shared | 1 year ago | |
.gitignore | 1 year ago | |
README.md | 1 year ago | |
build.gradle.kts | 1 year ago | |
gradle.properties | 10 months ago | |
gradlew | 1 year ago | |
gradlew.bat | 1 year ago | |
run-configurations.png | 1 year ago | |
settings.gradle.kts | 1 year ago |
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 on desktop via Gradle
./gradlew desktopApp:run
Run MacOS via Gradle:
- on Intel CPU:
./gradlew :shared:runDebugExecutableMacosX64
- on Apple Silicon:
./gradlew :shared:runDebugExecutableMacosArm64