0Pricing
Kotlin Multiplatform Academy · Lesson

Use Apple Frameworks from Kotlin

Access platform.Foundation and friends directly.

Apple APIs, in Kotlin

Kotlin/Native ships with ready-made bindings for Apple platforms. From iosMain you can call Foundation, UIKit and more directly in Kotlin. 🍎

The platform Packages

Every Apple framework lives under a platform package. Import platform.Foundation, platform.UIKit, or platform.CoreLocation just like any Kotlin package.

import platform.Foundation.NSDate
import platform.UIKit.UIDevice

All lessons in this course

  1. Use Apple Frameworks from Kotlin
  2. Memory & ARC in Kotlin/Native
  3. cinterop with C Libraries
  4. Wrap a Native SDK Cleanly
← Back to Kotlin Multiplatform Academy