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.
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.
OS X and macOS make it very easy for malware to make itself persistent. It’s time for High Sierra to improve protection of the user.