Update README.md for Code Viewer example (#2989)

This commit is contained in:
Nikita Lipsky
2023-04-05 20:24:39 +03:00
committed by GitHub
parent 50c3a47acd
commit 6f13bc35a9
3 changed files with 7 additions and 9 deletions

View File

@@ -1,19 +1,17 @@
# Code Viewer
MPP Code Viewer example for desktop/android/iOS written in Multiplatform Compose library.
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](https://github.com/JetBrains/compose-multiplatform-template#setting-up-your-development-environment).
## How to run
Choose a run configuration for an appropriate target in IDE and run it.
Choose a run configuration for an appropriate target in Android Studio and run it.
![run-configurations.png](run-configurations.png)
To run on iOS device, please correct `TEAM_ID` value in `iosApp/Configuration/Config.xcconfig` with your Apple Team ID.
Alternatively, you may setup signing within XCode opening `iosApp/iosApp.xcworkspace` and then
using "Signing & Capabilities" tab of `Codeviewer` target.
Then choose **iosApp** configuration in IDE and run it.
## Run on desktop via Gradle
## Run desktop via Gradle
`./gradlew desktopApp:run`

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 365 KiB

After

Width:  |  Height:  |  Size: 1.4 MiB