The code scrapbook is finished, and has now produced its first set of articles. Five articles in around ten minutes seems pretty impressive to me.
Category Archive: Macs
Calling shell commands, including with privileges, NSBackgroundActivity, XPC Activity, and writing shell commands in Swift.
Dates with (NS)Date and DateFormatter, writing messages to Sierra’s unified log, and working with old Objective-C interfaces.
Reading and writing preference files, storing data in property list files, and reading JSON data.
Alerts, open and save file, text boxes, radio buttons, popup menus, steppers, read and write in NSDocuments, and much more.
Swift 3.1 code snippets for string manipulation, working with attributes in attributed text, and with arrays.
Covers new series of Swift Snippets articles, with links to those articles, other relevant ones here, and the whole series in a Tinderbox document.
Thomas Cook could take you anywhere in the world. Today we do better, although getting from the far south of England to the Outer Hebrides could be a bit too far.
How to encrypt your hard disk without tears, using macOS FileVault. Includes addressing problems.
Several bugs and issues in the log command will not result in errors, but will misleadingly return no log entries when used in search predicates.
