On Apr 27, 2010, at 5:14 PM, Rainer Standke wrote:

> Hello,
> 
> 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.

In addition to Uli's solution, I have a class that specifically deals 
with Finder labels, and works at least back to 10.4:

http://code.google.com/p/fileview/source/browse/trunk/fileview/FVFinderLabel.m

That class also has code for drawing a gradient that looks similar to
Finder's, and the FVColorMenuView class in that project has code for
a Finder label control that tries to duplicate Finder's (10.5 and later).




_______________________________________________

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