Re: How to create a Tags selection field in a dialog
Re: How to create a Tags selection field in a dialog
- Subject: Re: How to create a Tags selection field in a dialog
- From: Jens Alfke <email@hidden>
- Date: Tue, 18 Mar 2014 11:37:37 -0700
On Feb 28, 2014, at 10:54 AM, Ben Staveley-Taylor <email@hidden> 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@hidden)
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:
This email sent to email@hidden