Published inBetter Programming·Aug 19, 2020Member-onlyHow to Access the AppKit API from Mac Catalyst AppsTwo techniques to access AppKit from Catalyst apps in pure Swift — Only a small part of AppKit API is available to Mac Catalyst, but since Mac Catalyst apps are also macOS apps, they do have full access to AppKit API in runtime. It’s just not visible to them because Apple marked most of the AppKit classes as unavailable to Catalyst apps. …Macos5 min readMacos5 min read
Published inThe Startup·Apr 27, 2020Member-onlyCalling Hidden/Private API from Swift in StyleA simple, clean, and safe way to call hidden API in Swift 5 — Making private API visible in Swift is a tedious job. You have to find the private headers, copy them to your project, create a bridging header file, and import the private headers. …Swift7 min readSwift7 min read
Feb 7, 2020How to Set up Firebase Crashlytics for macOS AppsAlthough macOS and Catalyst are not officially supported by Firebase, yet, some services can be used in macOS apps right now. I’ll explain how to connect Firebase with macOS apps and set up Crashlytics. Set up the Firebase Project Create a Firebase project and set up the app as an iOS app. After you finish…Macos2 min readMacos2 min read