Hello KMM!
Hello World in Kotlin Multiplatform Mobile (new empty project)
Getting started:
Kotlinlang.org hass instructions on getting you all setup from scratch; they can be found here.
Setup your environment.
Up to date instructions on how to configure your environment for KMM can be found on the KMM website.
If you are a more visual learner, the Kotlin team published a good video tutorial on YouTube titled, "Your First Kotlin Multiplatform Mobile App Tutorial"
.
Alternatively, the TL;DR:
- Install the latest Android Studio for your platform.
- Install the latest Kotlin Multiplatform Mobile plugin.
- Download the latest Xcode.
- Install cocoapods:
sudo gem install cocoapods
- Create a new KMM project, or clone this repository.
git clone https://github.com/BlakeBarrett/HelloKMM.git
Housekeeping.
- Its always good practice to add a good
.gitignore
file to any new repository.
I used gitignore.io to generate the ignore files in this repository.