Basics of Kotlin Multiplatform
Discover the benefits of Kotlin Multiplatform, and learn how to build your apps on multiple platforms faster and with less code to maintain.
Go back
Why you should adopt Kotlin Multiplatform
Kotlin Multiplatform (KMP) helps developers create seamless cross-platform apps, reusing code while retaining native programming benefits. This article details ten reasons to integrate KMP into projects.
Get started with Kotlin Multiplatform
Learn about the benefits of Kotlin Multiplatform and get introduced to the concepts covered in this series.
The Basics of Project Structure
Learn how to share code, differentiate shared and platform-specific parts, and specify supported platforms. You'll learn core project concepts like common code, targets, source sets, and test integration to help set up future multiplatform projects.
Add Kotlin Multiplatform to your project
Learn how to add Kotlin Multiplatform to your project and how it works with your existing Android and iOS apps.
Use Platform-specific APIs
This article covers the ways KMP facilitates the use of platform-specific APIs in cross-platform apps.
Platform-specific APIs in practice
In this video, you'll learn how to use platform-specific APIs when developing multiplatform applications and libraries.
Integrate iOS into your project with direct integration
You can simultaneously develop your Kotlin Multiplatform project and an iOS project by sharing code between them with direct integration of the shared module to the Xcode project.
Add dependencies on multiplatform libraries
Learn how to add dependencies to a Kotlin Multiplatform project, including standard Kotlin libraries, multiplatform libraries, and other multiplatform projects.
Search for multiplatform dependencies at klibs.io
Explore the diverse ecosystem of multiplatform libraries to find the right tools for your project.
Integrate iOS with remote Swift Package Manager
In this article, you can learn how to release your shared KMP module as a standalone Swift Package for use by an iOS app, similar to any other Swift library.
Migrate Room Database to Kotlin Multiplatform
By migrating part of your business logic, you can remove the duplicated logic in your codebase. A good example of migration is sharing the database layer. Learn how to migrate Room Database to Kotlin Multiplatform.