Re: Finder file label from cocoa?
Re: Finder file label from cocoa?
- Subject: Re: Finder file label from cocoa?
- From: Jean-Daniel Dupas <email@hidden>
- Date: Wed, 28 Apr 2010 09:08:22 +0200
Le 28 avr. 2010 à 02:14, Rainer Standke a écrit :
> 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.
To get and set it, you can probably use the NSURLLabelNumberKey property (introduced in 10.6) and the URL Resource API:
- (BOOL)getResourceValue:(id *)valueforKey:(NSString *)keyerror:(NSError **)error
- (BOOL)setResourceValue:(id)value forKey:(NSString *)key error:(NSError **)error
-- Jean-Daniel
_______________________________________________
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