• 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: Uli Kusterer <email@hidden>
  • Date: Wed, 28 Apr 2010 09:27:27 +0200

On 28.04.2010, at 02:14, Rainer Standke wrote:
> 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.

If you need to support older MacOS versions, my UKDirectoryEnumerator class also includes a category to get/set Carbon-specific file attributes (at the bottom of the file):

http://github.com/uliwitness/UliKit/

In particular

http://github.com/uliwitness/UliKit/blob/master/UKDirectoryEnumerator.h
http://github.com/uliwitness/UliKit/blob/master/UKDirectoryEnumerator.m

Might save you from writing additional code.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de

_______________________________________________

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>)

  • Prev by Date: Re: Make About window respond to ⌘W in UI-less application
  • Next by Date: Re: white screen windows at first
  • Previous by thread: Re: Finder file label from cocoa?
  • Next by thread: Re: Finder file label from cocoa?
  • Index(es):
    • Date
    • Thread