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.
 
 
 
 
Nikita Lipsky 1d955a2e6d
Remove internal from common public @Composable as it is not required for 1.4.0-rc03 (#3008)
2 years ago
..
.run Move experimental/examples to examples (#2976) 2 years ago
androidApp Move experimental/examples to examples (#2976) 2 years ago
desktopApp Move experimental/examples to examples (#2976) 2 years ago
gradle/wrapper Move experimental/examples to examples (#2976) 2 years ago
iosApp Fix xcode projects for icon processing for examples (#2978) 2 years ago
screenshots Update README.md for Code Viewer example (#2989) 2 years ago
shared Remove internal from common public @Composable as it is not required for 1.4.0-rc03 (#3008) 2 years ago
.gitignore Move experimental/examples to examples (#2976) 2 years ago
README.md Update README.md for Code Viewer example (#2989) 2 years ago
build.gradle.kts Move CodeViewer to KMM structure + add iOS target (#2544) 2 years ago
gradle.properties Remove internal from common public @Composable as it is not required for 1.4.0-rc03 (#3008) 2 years ago
gradlew Move experimental/examples to examples (#2976) 2 years ago
gradlew.bat Move experimental/examples to examples (#2976) 2 years ago
run-configurations.png Update README.md for Code Viewer example (#2989) 2 years ago
settings.gradle.kts Move experimental/examples to examples (#2976) 2 years ago

README.md

Code Viewer

Code Viewer example for Desktop, Android and iOS written in Compose Multiplatform.

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 desktop via Gradle

./gradlew desktopApp:run

Building native desktop distribution

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

Desktop