Getting and Setting a File's Extended Attributes
One last code snippet: getting and setting a file's extended attributes on OS X, wrapped in ARC-dependent Objective-C around setxattr, getxattr, and listxattr. Pass in an NSString or NSData and go.
This post is for members only
Already have an account? Sign in.