• 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: Setting file visibility in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting file visibility in Cocoa


  • Subject: Re: Setting file visibility in Cocoa
  • From: Uli Kusterer <email@hidden>
  • Date: Wed, 24 Jan 2007 10:13:28 +0100


Am 23.01.2007 um 20:16 schrieb Ryan Britton:
There is no way to do this in Cocoa as far as I know other than prepending the name with a period. In Carbon you can set the finder flag kIsInvisible. Uli's code at the link below can give you an idea on how to set and get this flag if you're not familiar with the Carbon File Manager functions.

http://www.zathras.de/programming/cocoa/UKDirectoryEnumerator.zip

The official link is

	http://www.zathras.de/angelweb/sourcecode.htm#UKDirectoryEnumerator

and this also contains categories on NSFileManager to change these attributes.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >Setting file visibility in Cocoa (From: Ken Tozier <email@hidden>)
 >Re: Setting file visibility in Cocoa (From: Ryan Britton <email@hidden>)

  • Prev by Date: Re: Adding menu items to the "Help" menu
  • Next by Date: ADC : Mac OS X State of the Union: WOW
  • Previous by thread: Re: Setting file visibility in Cocoa
  • Next by thread: Re: Setting file visibility in Cocoa
  • Index(es):
    • Date
    • Thread