Welcome to KMP Bits
RSS FeedYour go-to spot for Kotlin Multiplatform tips, mobile dev insights, and clean architecture.
Featured
-
KMP Splash: How I Stopped Opening Xcode for Splash Screens
The pit crew was always there. I just had to build it: a Gradle plugin that automates iOS and Android splash screen setup from a single config block.
-
Drop the Clutch: Three Metro DI Patterns Every KMP Developer Should Know
Metro drops the clutch on runtime DI errors. Three patterns in a real KMP app: binding contributions, platform graphs, and child scopes.
-
Clean Lap: UI Testing in Compose Multiplatform
Before the car hits the grid, telemetry confirms every sector. Before your UI ships, runComposeUiTest confirms every composable.
-
Under the Hood: How Compose and SwiftUI Handle What Happens Off-Screen
Same engine, different cockpit: how Compose and SwiftUI handle side effects when sharing a Kotlin Multiplatform ViewModel.
Recent Bits
-
The Pit Crew: Advanced Ktor Client Configuration for KMP
The pit crew doesn't wait to be asked. They intercept the car, do their work, and the driver rejoins the race. Ktor plugins work the same way: auth, logging, and retry all happen before your business logic sees a thing.
-
Every Commit on the Clock: CI/CD for Kotlin Multiplatform with GitHub Actions
In endurance racing every car carries a timing transponder: the circuit knows exactly where you are, every lap, every sector. This is how to put one on your KMP project.
-
The Clean Line: Swift Export for KMP
Objective-C headers turned your Kotlin enums into class wrappers and your function signatures into noise. Swift Export sends the same data over a cleaner channel.
-
KMP Modularization: From Layers to Features
Why organising your garage by components is slowing down your pit stops.