Jump to ratings and reviews
Rate this book

Kotlin Multiplatform by Tutorials

Rate this book
Learn how to use Kotlin to share code across platforms

Mobile developers have to often repeat the same code across multiple platforms, which is not only time-consuming but also error-prone. Most documentation targets only specific use cases but misses out on the nuances essential to sharing code effectively across platforms.

Kotlin Multiplatform by Tutorials will help you efficiently implement real-world apps for different platforms by sharing common code.

Who this book is for

This book is for mobile developers and managers who want to explore how they can use Kotlin Multiplatform to share code across Android, iOS and desktop apps. If you want to reduce development and testing time by writing certain parts of your apps only once, this book will help.

Topics covered in Kotlin Multiplatform by Tutorials

Jetpack Compose Android: Use Android's latest UI toolkit to quickly spin up the UI for different screens of your Android app.
Compose Multiplatform: Use the concepts you learned in Jetpack Compose Android to develop the UI for desktop apps.
SwiftUI: Learn how to develop the UI for iOS and macOS apps entirely in Swift.
Testing: Make your code reliable by writing tests for both common code as well as platform-specific code.
Koin: Learn about dependency injection and how you can use Koin to implement dependency injection in multiplatform apps.
SQLDelight: Create a common persistence layer for your multiplatform apps while also getting the benefits of compile-time safety for schemas, statements and migrations.
Serialization: Learn about different serialization formats and how you can use them to parse JSON data fetched from the Internet.
Ktor: Implement a common networking layer with support for platform-specific HTTP clients.
Coroutines: Learn about structures concurrency and the considerations to keep in mind while using coroutines on different platforms.
One thing you can count on: after reading this book, you’ll be prepared to create modules where you can write your code only once but target multiple platforms.

484 pages, Paperback

Published March 15, 2022

2 people are currently reading
15 people want to read

About the author

Ray Wenderlich

99 books18 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
1 (25%)
4 stars
1 (25%)
3 stars
1 (25%)
2 stars
1 (25%)
1 star
0 (0%)
Displaying 1 of 1 review
18 reviews
December 3, 2024
With a couple of disclaimers (see below) this is probably the best primer on KMP in 2024. I also tried Robert Nagy's book, which also suffers from the bleeding edge problem.

Programming books are hard because the industry moves so quickly that, by the time you've published your book it's already outdated. This book suffers from the same issue because, as it was published, the new KMP memory model was released. Now, it's even further out of date since SKIE and other libraries have made the experience significantly better.

I also wish they had spent more time on "best practices", but I suppose this is not to be expected in a "by Tutorials" book.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.