Re: Setting file visibility in Cocoa
Re: Setting file visibility in Cocoa
- Subject: Re: Setting file visibility in Cocoa
- From: "Sean McBride" <email@hidden>
- Date: Tue, 23 Jan 2007 16:36:11 -0500
- Organization: Rogue Research
On 2007-01-23 12:58, Ken Tozier said:
>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.
Well, if you can, you can simply use filenames that start with '.', then
they will be invisible. If you can't name them like that, then you can
use the Carbon File Manager to make a file invisible. Google for
'kIsInvisible' and 'finder flags'.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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