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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to