Calling shell commands, including with privileges, NSBackgroundActivity, XPC Activity, and writing shell commands in Swift.
Category Archive: Macs
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.
This new version works around multiple issues in the log show command, to make the use of search predicates much more reliable and consistent.
