On Feb 28, 2014, at 10:54 AM, Ben Staveley-Taylor 
<[email protected]> wrote:

> I’m considering making use of the Finder Tags functionality in Mavericks but 
> the APIs seem a little sparse.

The tags are just Spotlight metadata, as far as I know. There are 3rd party 
apps like Leap and TagIt that have been using this metadata for tags for years.

However, I looked through both NSMetadataAttributes.h and MDItem.h and didn’t 
find anything relevant with the name “tag” or “label” in it*. Weird. But you 
should be able to inspect the metadata of a tagged file and see what the actual 
attribute name is.

—Jens

* The old Finder labels/colors were just an integer 0-7 stored in the 
filesystem attributes; not related to the new tags.
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to