Re: Setting file visibility in Cocoa
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