Mobile Development with Kotlin Multiplatform
Полное руководство по KMM
Résumé :
Introduction
The book "Kotlin Multiplatform Mobile Development" (Pamela Hill, 2022, 282 pages) is a practical guide to creating cross-platform mobile applications using Kotlin Multiplatform Mobile (KMM) technology. In an era where companies seek to reduce development costs for iOS and Android, KMM offers an elegant solution: write business logic once in Kotlin, and UI natively for each platform. The author, Pamela Hill, a renowned Kotlin evangelist and developer, shares her experience and proven patterns.
What the book is about
The book covers the full cycle of creating a KMM project: from environment setup to publishing in app stores. The main focus is on modular architecture, organizing shared code (shared module), and integrating with platform APIs. Topics covered include:
- Setting up Gradle modules for KMM
- Creating shared code for network requests (Ktor), serialization (kotlinx.serialization), and data storage (SQLDelight)
- Using expect/actual for platform implementations
- Testing shared code and UI components
- Working with Compose Multiplatform for creating shared UI
- Integration with native frameworks (SwiftUI, Jetpack Compose)
- CI/CD and deployment
Who this book is for
The book is aimed at developers already familiar with the Kotlin language and having basic mobile development experience (Android or iOS). Beginners in mobile