Creating and resolving Finder aliases is straightforward in Swift: here’s how alisma does it.
Apple should name macOS version with literary references. Here’s the justification for macOS 10.14 Gormenghast.
A quick tour through Folder Actions (AppleScript), Hazel (System Preferences pane, commercial), and fswatch and their potential uses.
Robust example Swift code for checking the free space available on a volume. A good quick check to run before trying to write out anything hefty.
A hard to spot runtime error results if you try to embed the key < in a dictionary. But when converting plain text for embedding in XML, that's one character you need to substitute.
When to use as, as!, or as?, how to handle Any, and when you need to use var instead of let even though you don’t change the value.
2017 was never going to be easy, and Apple had a lot of accidents over its closing months. It delivered a lot of new products, and with them a lot of new problems.
A starter Xcode 9.2 project to form a base for quick, scripting-style apps. Free of all copyright, free to use. Runs on El Capitan, Sierra, and High Sierra.
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.