25 Kotlin/Native
With your multiplatform scaffolding in place, Doubloons4Gold is now ready to target more platforms. In this chapter, you will be adding support for macOS.
If you have been using a Mac to work through this book, you may be asking, “Have I not already been targeting macOS?” Because your applications have compiled for Java, they will run everywhere that Java runs, including on Macs with Java installed. But what about Macs that do not have Java installed?
By natively targeting macOS, you will build an application that can run on macOS without an additional runtime environment – Java or otherwise. When you do this, you also have full access to macOS’s built-in frameworks and APIs, which might let you accomplish things ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access