Creating and resolving Finder aliases is straightforward in Swift: here’s how alisma does it.
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.
Maintaining a menu gathered across all the open documents could be tricky. Here’s a simple solution using UserDefaults and NotificationCenter.
Drawing in a graphics view shouldn’t be as hard as it seems. And how making custom ToolTips is simple, when you know how.