![]() Multiple windows support is a broad topic that deserves its own tutorial, so it is out of scope for this session. This tutorial will cover some more complex cases you’ll need to deal with to make your iOS app a good macOS citizen. Other iOS UI objects that have no macOS equivalent like UINavigationController will render the same as they do on iOS. SwiftUI components that are in a UIHostingController just work.Where these objects have an equivalent AppKit version, the compiler swaps them out for the platform native version. ![]() ![]() Your standard iOS containers and collections will work as they did on iOS. For example, ARKit makes no sense for macOS and is not available, and for people who have developed for macOS, there is no access to AppKit. Not all frameworks for iOS are available on macOS. The apps you write using UIKit for iPad targets can be cross-compiled to run on macOS, but there are catches in this statement. Catalyst allows you to use most of your UIKit and Foundation code to compile an app that runs natively on macOS. ![]() ![]() The dream of write once, run everywhere came closer at WWDC 2019 when Apple released the Catalyst project into developers’ hands. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |