Re: Finder file label from cocoa?
Re: Finder file label from cocoa?
- Subject: Re: Finder file label from cocoa?
- From: Uli Kusterer <email@hidden>
- Date: Wed, 28 Apr 2010 09:27:27 +0200
On 28.04.2010, at 02:14, Rainer Standke wrote:
> is there a way to get to the finder label of a file from Cocoa? I'd like to be able to get & set them.
If you need to support older MacOS versions, my UKDirectoryEnumerator class also includes a category to get/set Carbon-specific file attributes (at the bottom of the file):
http://github.com/uliwitness/UliKit/
In particular
http://github.com/uliwitness/UliKit/blob/master/UKDirectoryEnumerator.h
http://github.com/uliwitness/UliKit/blob/master/UKDirectoryEnumerator.m
Might save you from writing additional code.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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