You want to read in a property list to structured data in Swift. The solution – in Swift 4 – is in a Coder, as explained here.
Has Xcode been warning you that your Interface Builder window class is unknown, and creating a generic Window instead? Here’s the simple fix.
Changes include frequent timechecks by timed, harder access to info about keychains, a couple of possible AppleScript bugs, and APFS snapshots.
Maintaining a menu gathered across all the open documents could be tricky. Here’s a simple solution using UserDefaults and NotificationCenter.
The odd behaviour of some apps, which quit on their own, but hang around as zombies, and the long battle trying to make sense of logs.
Drawing in a graphics view shouldn’t be as hard as it seems. And how making custom ToolTips is simple, when you know how.
Dictionaries are valuable, perhaps vital for working with property lists, but seldom as flat as examples suggest. Here are some nested examples in real code.
Using Swift 4 for a classic scripting task: copying and restructuring files and folders, here to create a logarchive bundle.
How my apps were correctly signed, but using the wrong certificate. They passed all tests here, but would not come out of quarantine normally on other systems.
NSDocument is based on the data stored in the data fork of a file. Could it be modified to work with xattrs instead? And dipping my toes into NSTableView.