How complex is the code needed for an app like Consolation? Most of it is actually straightforward if not simple.
AppleScript
How to implement grouped radio buttons, the benefits of Swift, and an alpha for the fearless.
All too often, we select apps on the basis of features. Support for performing repetitive tasks efficiently and without error is much more important.
A command which is seriously pernickety about its parameters, and sends all its output to the standard error stream. Such fun.
I was surprised to discover that few books on Swift explain how to use its structured documentation system. No wonder we don’t document our code properly.
It’s time to clean up my code and factor out functions for re-use. This turns out to be straightforward.
Staple functions for scripts, it is vital that they are readily accessible from Swift if it is to be used for scripting.
How to run a shell command with root privileges from with Swift. The roundabout way.
It can be valuable to know how to restart, run a command, and open an app using Terminal, AppleScript, and different methods in the Finder.
Porting a 3-line AppleScript hack to Swift 3 in Xcode is not hard. But there’s always a but…
