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 - 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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
The problem Kotlin Multiplatform solves3m 50s
-
(Locked)
Comparison with alternatives3m 18s
-
(Locked)
Supported platforms and performance3m
-
(Locked)
Just what the KDoctor ordered3m 18s
-
(Locked)
Android studio for KMP9m 41s
-
(Locked)
Xcode for KMP4m 12s
-
(Locked)
Crafting a template with the Kotlin Multiplatform wizard1m 25s
-
-
-
-
-
-
-
-