Trying to decide whether a selected item is an app bundle turns out to be simple, if you cheat.
How to sort an array of arrays of strings, on the contents of one of those strings, in just 4 lines of Swift.
How HelpHelp accesses a large nested Property List files, handles its data as arrays, and uses NSHelpManager.
I’m sure there are more idiomatic or even efficient ways of doing it, but here is how I converted JSON data to CSV output.
Making progress with Consolation version 2: working out how to export useful data from JSON log excerpts. A punch-up in the Swift Playground.
Using preference files comes with remarkably little effort when writing them in Swift and Xcode.
I was dreading its conversion from an ordinary Cocoa app into an architecture which supported multiple windows. Would Xcode co-operate?