Catalyst by Tutorials
Take all of those great apps you’ve built on iOS and learn how to make them run well under macOS using the Catalyst framework. By Andy Pereira, Marin Bencevic & Nick Bonatsakis.
Who is this for?
This book is for developers who have a good handle on building iOS apps and want to learn how to port those apps to run on macOS as well.
Covered concepts
- Multi-Window Support
- Drag-and-Drop API
- Context menus
- Keyboard shortcuts
- App preferences
- Mouse support
- Toolbar & TouchBar
- Distribution differences between macOS and iOS apps
Catalyst by Tutorials shows you how to take all of those great apps you’ve built on iOS and run them right on macOS. But like everything else with Apple, it’s not always as straightforward as you’d like it to be. This book...
moreBefore You Begin
This section tells you a few things you need to know before you get started, such as what you’ll need for hardware and software, where to find the project files for this book, and more.
Section I: Making a Great iPad App
Catalyst is all about letting you use code you’ve written for iOS on macOS. But not just any code. At least for now, you can only run code that is written for iPad on a Mac. And because most of the code will run on both platforms, before you dive in to running your app on your Mac, there are a few things you should do to make your code ready.
In this section, you’ll take an app written to run on iPhone and adapt it to run on iPad. Then you’ll add some features to make it behave like a first-class iPad citizen. And through the magic of Catalyst, these features will make your Mac app better too!
Section II: Making a Great Mac App
The good news is that most of your code will be useful for both iPad and Mac platforms. But what about the things that are Mac-specific: like mouse support, Touch Bar support and more?
In this section, you’ll take the first-rate iPad app from the previous section and add Mac-specific touches to make it work well on macOS.
Section III: Distributing Your App
Congratulations! You now have a Mac app. But getting that app to your users can be a little different than on iOS.
In this section, you’ll learn the options for distributing your app and how those options work.