KMP

Tutorials

Compose Multiplatform in 2026: Sharing UI Between Android and iOS

From Shared Logic to Shared UI If you’ve been following the Kotlin Multiplatform story, you’ve probably already shared networking with Ktor in a KMP shared module and persistence with SQLDelight across platforms. The next logical question is: can you share the UI too? With Compose Multiplatform, the answer in 2026 is a confident yes. JetBrains’ […]

, , , , , ,
Tutorials

One HTTP Client for Android and iOS: Ktor 3 in a KMP Shared Module

The Networking Problem in KMP Projects Before Kotlin Multiplatform, Android had Retrofit and OkHttp while iOS had URLSession or Alamofire — two completely separate networking stacks, two sets of models to keep in sync, and twice the bugs to chase. KMP solves this at the shared-module level, and Ktor Client is the library built specifically

, , , , , ,
Circuit board representing platform layers
Tutorials

expect and actual: The Mechanism That Makes Kotlin Multiplatform Tick

The Core Problem KMP Has to Solve Kotlin Multiplatform lets you share business logic across Android, iOS, desktop, and web — but each platform still has its own APIs. Android has Log, iOS has NSLog, Android has SharedPreferences, iOS has NSUserDefaults. KMP’s answer to this is a two-keyword mechanism: expect and actual. It’s the single

, , , , ,
Scroll to Top