Chapter 7: Writing an iOS Consumer App

After trying out the shared code on Android, the next step will be doing the same for iOS. Spoiler alert—it won't be exactly as seamless as on Android, and we'll need to make some adaptations to the shared code. For this reason, I believe this chapter should offer a good insight into what extra work is actually needed for making Kotlin Multiplatform (KMP) shared code work on iOS and how seamless it can be with the current tech stack on Swift. This chapter will follow a similar structure to Chapter 6, Writing the Android Consumer App, and in it, we will explore the following topics:

  • Setting up the iOS app
  • Tying the iOS app together with the shared code
  • Implementing the UI on iOS

Technical requirements ...

Get Simplifying Application Development with Kotlin Multiplatform Mobile now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.