Trying to decide whether a selected item is an app bundle turns out to be simple, if you cheat.
scripting
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.
A detailed tutorial showing how you can time events, such as moving from one note to the next, using free and simple tools.
Browsing my log in Excel for the first time was a revelation of its potential. We have the tools – all we need is the imagination.
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?
Here’s a tool which lets AppleScript and anything else which can run a shell command make an entry in Sierra’s logs.
