出版时间:2020.10
官网链接:RayWenderlich
下载地址:百度网盘(PDF+EPUB+CODE)
提取码 :fc92
内容简介:
Up to date for iOS 14, Xcode 12 & Swift 5.3
Run iOS apps natively on macOS with Catalyst!
Catalyst by Tutorials shows you how to take all of those great apps you’ve build 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 will show you how to design your apps to work well on macOS, what you can and can’t port between the two platforms, and any other “gotchas” to keep an eye out for when building apps under Catalyst.
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.
What Is Catalyst?
Formerly known as Marzipan to Apple insiders, Catalyst lets you extend your iPad apps to macOS. Under Catalina and Xcode 11, developers can now build their iPad apps with macOS as a target.
And we’re not just talking about grossly super-sized versions of iPad apps on your Mac; Catalyst apps will support native macOS controls and functionality, such as the familiar menu bar, support for mouse and keyboards, window resizing, proper scroll bars, Touch Bar support, and desktop-based drag and drop.
So if you’ve been hesitating to port your iPad apps to macOS because you just don’t want to have to learn to develop for the desktop, then 2019 is your year!
Who is this book 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.
Concepts covered in this book
- Multi-Window Support
- Drag-and-Drop API
- Context menus
- Keyboard shortcuts
- App preferences
- Mouse support
- Toolbar & TouchBar
- Distribution differences between macOS and iOS apps