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.

Subscribe to A garage sale for your mind

Don’t miss out on the latest posts. Sign up now to get access to the library of members-only posts.
[email protected]
Subscribe