Using Swift 4 for a classic scripting task: copying and restructuring files and folders, here to create a logarchive bundle.
How my apps were correctly signed, but using the wrong certificate. They passed all tests here, but would not come out of quarantine normally on other systems.
NSDocument is based on the data stored in the data fork of a file. Could it be modified to work with xattrs instead? And dipping my toes into NSTableView.
Using wrappers to call C functions which give direct access to xattrs, handling throws, and converting arbitrary Data to Strings.
Working with extended attributes in Swift. They’re straightforward using shell commands, but that is not the best way ahead.
How much more difficult is it to write your own code to handle user preferences, rather than letting UserDefaults handle them?
Which String.contains() variant should you use, and how can you give access to regex searching? More answers coded in Swift 3.1.
A crashing app points out the problems of using functions that return values of ‘Any’ type. Here’s one solution.
Creating a drop-down sheet to let the user change preference settings is a bit intricate, but straightforward.