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 ...
Get Kotlin Programming: The Big Nerd Ranch Guide, 2nd Edition 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.