• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Finder file label from cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Finder file label from cocoa? (From: Rainer Standke <email@hidden>)
 >Re: Finder file label from cocoa? (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: Cocoa Newbie & MySQL
  • Next by Date: Re: awakeFromFetch Called Multiple Times
  • Previous by thread: Re: Finder file label from cocoa?
  • Next by thread: Re: Finder file label from cocoa?
  • Index(es):
    • Date
    • Thread