Clean up templated text in README's Kotlin Multiplatform section

The module-layout bullets were still generic KMP-wizard boilerplate
("your project", a hypothetical CoreCrypto example never used here)
and omitted macOS, androidApp, desktopApp, and webApp entirely.
Replaces them with an accurate description of the actual layout.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FXcrACM5sok3M1KQJ8kByy
This commit is contained in:
2026-09-12 12:43:54 +03:00
co-authored by Claude Sonnet 5
parent 10b1b914b7
commit b856454df5
+10 -11
View File
@@ -29,19 +29,18 @@ iOS 16.0+ • macOS 13.0+ • Android 7.0+
## Kotlin Multiplatform ## Kotlin Multiplatform
This is a Kotlin Multiplatform project targeting Android, iOS, Web, Desktop (JVM). This is a Kotlin Multiplatform project targeting Android, iOS, macOS, Web, and Desktop (JVM).
* [/iosApp](./iosApp/iosApp) contains an iOS application. Even if youre sharing your UI with Compose Multiplatform, you * [/shared](./shared/src) contains almost the entire app — UI (built with Compose Multiplatform),
need this entry point for your iOS app. This is also where you should add SwiftUI code for your project. view models, data sources, and domain logic. [commonMain](./shared/src/commonMain/kotlin) holds
code shared by every target, alongside platform-specific source sets: `androidMain`, `jvmMain`
(Desktop), `appleMain` (iOS and macOS), and `webMain` (JS and Wasm).
* [/shared](./shared/src) is for code that will be shared across your Compose Multiplatform applications. It contains * [/androidApp](./androidApp), [/desktopApp](./desktopApp), and [/webApp](./webApp) are thin
several subfolders: launcher shells around `shared`'s Compose UI.
- [commonMain](./shared/src/commonMain/kotlin) is for code thats common for all targets.
- Other folders are for Kotlin code that will be compiled for only the platform indicated in the folder name. For * [/iosApp](./iosApp/iosApp) is a native SwiftUI app (shared across iOS and macOS), not Compose —
example, if you want to use Apples CoreCrypto for the iOS part of your Kotlin app, it talks to `shared` through a hand-written bridge rather than rendering Compose directly.
the [iosMain](./shared/src/iosMain/kotlin) folder would be the right place for such calls. Similarly, if you want
to edit the Desktop (JVM) specific part, the [jvmMain](./shared/src/jvmMain/kotlin)
folder is the appropriate location.
### Running the apps ### Running the apps