Skip to content

Kotlin Multiplatform: Mobile

Training certified by

  • Kotlin
  • Multiplatform
  • Intermediate
  • 3d

Share your business logic between Android and iOS without sacrificing the native experience: master the Kotlin Multiplatform toolchain and Swift interoperability to design, distribute, and integrate a robust shared SDK that accelerates your teams.

Course
Overview

Program
Objectives

  1. Configure and understand the Kotlin Multiplatform toolchain: Gradle, targets, source sets, and Xcode compilation.


  2. Write, test, and run platform-specific code using expect & actual.


  3. Master interoperability between Kotlin, Swift, and Objective-C.


  4. Distribute an iOS framework as source code or precompiled via SPM.


  5. Architect a multiplatform application using MVVM, MVI, and dependency injection.


  6. Leverage key multiplatform libraries and native APIs.


Prerequisites

Program

D1

Toolchain & Multiplatform SDK

Morning

Build tasks & Gradle

understand build configuration

Targets & source sets

configure compilation targets

Source set hierarchy

work with the hierarchical structure

Xcode toolchain

configure iOS compilation

Module architecture

understand project organization

Afternoon

expect & actual

write platform-specific code

Multiplatform testing

test on all platforms

Concurrent code

run concurrent code on each platform

Clean APIs

expose clear and idiomatic APIs

D2

iOS Interoperability & Architecture

Morning

Kotlin to Swift via ObjC

expose Kotlin code to Swift

ObjC constraints

understand their impact on Kotlin

New export system

expose Kotlin directly to Swift

Asynchronous functions

make them accessible from Swift

Obj-C libraries

use them from Kotlin

Swift to Kotlin

expose Swift code to Kotlin

Afternoon

Source distribution

distribute the iOS framework as source code

Distribution via SPM

distribute the compiled iOS framework

Module organization

structure a multiplatform project

APIs & domain models

expose cross-platform compatible APIs

MVVM & MVI

standardize behavior and UI

Dependency injection

allow platforms to contribute to it

D3

Libraries & Kotlin/Native

Morning

Serialization

serialization and introspection without reflection

HTTP clients & networking

communicate with your services

File access

read and write on each platform

Dates, times & durations

handle time in a portable way

SQL databases

persist data locally

Code generation

generate code from annotations

Afternoon

Native memory

understand memory management in Kotlin/Native

Pointers & arrays

manipulate native memory

POSIX & platform APIs

call system APIs

Multiplatform C interop

integrate C libraries

Details

  • Format

    In-company

  • Duration

    3 days (21 hrs)

  • Level

    Intermediate

Contact

Organize this course for your team

Interested in this program? Tell us about your context, and we'll get back to you to build the right workshop for your team, together.

    You are



    Additional information

    These trainings might interest you

    Our workshops are designed for professionals. Each program is tailored to your team's level and context, whether in-house or as an open session.

    The Kotlin Language: Concepts & Tools

    Kotlin Beginner
    3j

    Discover how Kotlin lets you write less code with fewer errors: its key concepts and tools will quickly make you productive at building safe, readable, and maintainable applications.

    Read

    Compose: Interfaces in All Their Forms

    Kotlin Intermediate
    2j

    Embrace declarative thinking to build reactive, maintainable, and performant interfaces. Master state and data flow to share a single UI codebase across Android, iOS, Desktop, and Web.

    Read

    The Kotlin Language: Expertise for Deploying APIs

    Kotlin Expert
    3j

    Go beyond everyday Kotlin: understand the deep mechanisms of the language and compiler to write idiomatic, safe code, design durable public APIs, and automate code generation.

    Read

    Kotlin Coroutines: Expert Usage

    Kotlin Expert
    2j

    Go beyond everyday coroutine usage: understand their inner mechanisms, from language primitives to flows, to write reliable, performant, and testable asynchronous code, and choose the right tool for each problem.

    Read

    Koog: Integrating AI into Your Multiplatform Apps

    IA Intermediate
    2j

    Go beyond the simple LLM call: use Koog to design AI agents integrated into your Kotlin applications, capable of acting and orchestrating themselves, reliable, cost-efficient, and observable in production.

    Read

    Gradle: Master & Optimize Your Builds

    Gradle Intermediate
    1j

    Finally understand what happens in your Gradle builds to make them reliable, fast, and maintainable: factor out your configuration, automate your specific needs, and save precious time on every build.

    Read