• 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: 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


  • Follow-Ups:
    • Re: Setting file visibility in Cocoa
      • From: Uli Kusterer <email@hidden>
References: 
 >Setting file visibility in Cocoa (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: Setting file visibility in Cocoa
  • Next by Date: Programmatically click a column header in NSTableView
  • Previous by thread: Re: Setting file visibility in Cocoa
  • Next by thread: Re: Setting file visibility in Cocoa
  • Index(es):
    • Date
    • Thread