October 2019
Intermediate to advanced
434 pages
11h 54m
English
Kotlin multiplatform is an exciting new option for achieving code sharing across multiple build targets. With a Kotlin multiplatform project, we can write Kotlin code that is then used across the web, Android, iOS, and a variety of native targets. By writing common implementations of model objects, key business logic, and so on, we can reduce the amount of overall code we have to write and can write, test, and reuse common components. In this chapter, we'll explore Kotlin's take on multiplatform programming, including how to create a new multiplatform project, how to target multiple platforms with shared code, and some of the pros and cons of using Kotlin multiplatform in its current state.
The following topics ...
Read now
Unlock full access