Since the introduction of the first iPhone, Apple has been building and maintaining two parallel operating systems: macOS and iOS. Both are based on Darwin but optimized for different types of interaction. As time passed, the apps and features on macOS and iOS started to converge slowly. It became very common for developers to create and support apps that ran on multiple types of Apple devices, from iPhone, iPad and Mac.
The trouble with building an app that runs on both iOS and Mac is that you need to learn and use two different UI frameworks: UIKit and AppKit. And, therefore need to maintain two distinct codebases. While it is, of course, possible to share some code using frameworks, the entirety of an app's UI-related code effectively needs to be done twice. With the arrival of Catalyst, it is now possible to bring an iPad app to the Mac using a single, UIKit-based codebase. With minimal effort, your iPad app can function quite well on macOS, and with a bit of additional effort, can become a world-class Mac citizen.
-
Xcode 11.0 or later
-
Swift 5
-
A Mac running macOS Catalina (10.15) or later
-
iOS 13 or later
git clone git@github.com:Wanguy/Catalyst-in-iOS13.git
cd Catalyst-in-iOS13
Copyright (c) 2015-2020 Wanguy. Released under MIT. See LICENSE for details.