From the course: Kotlin Multiplatform Development

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Crafting a template with the Kotlin Multiplatform wizard

Crafting a template with the Kotlin Multiplatform wizard - Kotlin Tutorial

From the course: Kotlin Multiplatform Development

Crafting a template with the Kotlin Multiplatform wizard

- [Instructor] To write our first code, we should start from a template. "Why not just get started writing?" you might ask? There is a lot of custom setup to select which platforms to support and the directory structure required is quite complex to create it all from memory. So, to avoid creating all of this boilerplate, first, let's go to the URL kmp.jetbrains.com. After that, we can name our project with a title and a project ID. Normally, a project ID is in reverse DNS notation. So if our project is named hello, and our internet domain is example.com, we would make the ID com.example.hello. In this case, it's com.callingtheshots.project. Next, let's select which platforms we would like to use. The template supports Android, iOS, Desktop, Web, and Server. Let's choose all except server for now. You'll notice that the iOS platform lets you decide whether or not to share the UI using Compose Multiplatform. Let's leave that checked for now. Finally, let's press the DOWNLOAD button. We…

Contents