Put TextEdit or Preview into the background when they haven’t got an open window, and they quit automatically, don’t they? Actually they don’t, they just become zombies.
Xcode
This analyses log use over the previous 3 months, and lets you view and export log load data for your chosen process.
The good (Xcode 9, Swift 4.0), the bad (iTunes 12.7), and the less accessible (iOS 11), as Apple’s month of upgrades progresses.
Should you upgrade to Xcode 9? Should you port your code to Swift 4.0? I’ve been working on my 17 little utilities, and am very impressed by this new version.
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.
You have one iMac with a Fusion Drive, and an old MacBook Air with an SSD. Which do you upgrade to run High Sierra? Is there a good solution?
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.
This tool for Sierra now inspects and displays extended attributes, and will write a quarantine xattr to force a full Gatekeeper check on an app, as if downloaded.
If you want someone else to be able to run your script app, you’ll need to sign it and get it past Gatekeeper’s checks. Here are more details about the role of xattrs in those, and how to run a full check without downloading your app.
