Presenting two or more versions of the same text close together is a challenge. Here’s how I arrived at one solution, and implemented it.
Swift
How to cater for Dark Mode when printing an AppKit view, and how to add a command to export a document in PDF format. Swift 5.0.
This error message can occur when running any command tool, or an app which calls a command tool, in 10.14.3 and earlier.
In Sierra but not Mojave, when the user opens an ancillary window, it appears for a moment, then vanishes. Is it a bug in the code, or in AppKit?
How many apps should launch faster, deliver better performance, be smaller, and use less memory than they have in the past.
A simple way to provide a proper Help book for your app, and separate PDF documentation without wasted effort. Uses Swift in Xcode.
By popular request, how to customise the PDF reader’s interface to enlarge the window and show larger thumbnails. With two lines of code.
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.
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.
