0PricingLogin
Kotlin Multiplatform Academy · Lesson

Main vs Background on iOS

Dispatch work safely off and onto the main thread.

Two Kinds of Work

Every app juggles two kinds of work: quick UI updates and slower jobs like network calls. Where each runs matters a lot.

The Main Thread Rule

On iOS, all UI changes must happen on the main thread. Touch it from a background thread and the app can crash or glitch.

All lessons in this course

  1. The New Memory Manager Explained
  2. Main vs Background on iOS
  3. Mutable State & Race Conditions
  4. Debug Freezes & Threading Crashes
← Back to Kotlin Multiplatform Academy