This second part uses Xcode’s Interface Builder to create the document window, then wire it up to the code which brings PDFKit and AppKit together.
Building a useful app in Xcode 10.1 with Swift. This app is a PDF reader which requires around a dozen lines of code.
Unsupported by developer documentation or Xcode, Quick Actions can only be seriously useful when reversible. Or are they just an embellishment to Finder?
The built-in Quick Actions and those bundled in installed apps are managed by the daemon pkd, and PlugInKit. Not so Automator workflows, though.
The problem of Undo is a major consideration when building or using any Quick Action, Automator workflow, AppleScript, or other lightweight solution.
Calling command tools from Swift changes with macOS 10.13 and 10.14 with the deprecation of some of the Process class. Solutions aren’t as clean as they should be.
Simple: when running on older macOS, remove some items from the app menu. The solution is also straightforward, just very hard to locate.
Advice on preparing for and using Mojave for all who go beyond using standard off-the-shelf apps – scripting, automating, building from source, or full-blown Xcode development.
Control of one app by another is an important but difficult aspect of Mojave’s new privacy controls. Here’s how it handles that at present, and some of the issues it raises.
For many users, privacy controls in Mojave will pass almost unnoticed. Here are tips for those who have greater demands, and want their apps to access protected data.