Rainer Standke (li...@standke.com) on 2010-04-27 20:14 said:

>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 10.6 you can use NSWorkspace's:

- (NSArray *)fileLabels
- (NSArray *)fileLabelColors

On older OSes, you'll need to use the Core Services (aka Carbon) File
Manager.  Check Files.h.

Sean


_______________________________________________

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