Re: Setting file visibility in Cocoa
Re: Setting file visibility in Cocoa
- Subject: Re: Setting file visibility in Cocoa
- From: Ryan Britton <email@hidden>
- Date: Tue, 23 Jan 2007 11:16:41 -0800
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
On Jan 23, 2007, at 9:58 AM, Ken Tozier wrote:
Hi
Is there a Cocoa way to set the visibility of files? I need to
store some info in specified directories and I don't want users to
be able to see/delete these files.
Thanks for any help
ken
_______________________________________________
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
_______________________________________________
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