Re: Finder file label from cocoa?
Re: Finder file label from cocoa?
- Subject: Re: Finder file label from cocoa?
- From: Rainer Standke <email@hidden>
- Date: Wed, 28 Apr 2010 11:17:17 -0700
That's exactly what I was looking for - thank you very much!
Rainer
On Apr 28, 2010, at 0:08 , Jean-Daniel Dupas wrote:
>
> 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