Kotlin Multiplatform Cheat Sheet

This content was generated with the assistance of AI and should be verified against the official Kotlin Multiplatform documentation before being relied on in production.

See the section bibliography for the reference material consulted while preparing these pages.

A single-page, colour-coded summary of the Kotlin Multiplatform essentials targeting Kotlin 2.4.20, Compose Multiplatform 1.12.1 and the Android Gradle Plugin 9.4 — what to share and each platform’s stability, compilers, targets and tiers, the project layout and source-set hierarchy, the kotlin {} DSL and version catalogs, the Android-KMP library plugin, expect/actual, the dependency ecosystem, coroutines and dispatchers, shared view models, Ktor, SQLDelight, Room and DataStore, Koin, the iOS integration options, Objective-C and Swift interop and SKIE, consuming suspend and Flow from Swift, Kotlin/Native memory and binary options, the Compose Multiplatform entry points, resources, navigation, iOS interop and desktop packaging, Wasm and JS, testing, publishing, a CI snippet and an adoption checklist — handy for quick memorization or as a printable desk reference.

For the full explanation, every option, and additional examples, see the dedicated pages: