Effective Migration to Mac Catalyst
summary
Catalyst compiles an iPad UIKit codebase to run on macOS but requires fixes: missing frameworks like UIWebView and CoreTelephony cause compile or link failures, third‑party static libs need an annex II framework format or xcframeworks, and conditional compilation using targetEnvironment(.macCatalyst) is essential. Demonstrated tooling uses an NSPrincipalClass plugin loaded from bundle to call AppKit APIs (example: tiles window to right) and a working example is published in the Catalyst Playground repo; tested on Xcode beta 4 and functional with those caveats.
AI-written summary · about
chapters (5)
- 0:00Introduction to Catalyst
- 3:30Beyond the checkbox
- 6:56Mac patterns with UIKit
- 14:44Live demo with AppKit bundles
- 19:33Should you use Catalyst
related talks
21mUIKit on macOS - The Holy Grail of Cross-Platform
20mImplementing macOS-Only Features Missing on iOS with Catalyst
31mLeveraging AppKit to Improve Your Catalyst App
34mHacking Marzipan, Running iOS apps on Mac
29mUpdating Your App for iOS 13
29mWorking with C and C++ in Apple environment
37mAdopting SwiftUI at scale
30mEvolving Existing Projects With SwiftUI
