• 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: How to know if a file has been opened before?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to know if a file has been opened before?


  • Subject: Re: How to know if a file has been opened before?
  • From: Charles Srstka <email@hidden>
  • Date: Mon, 04 Jun 2012 21:11:12 -0500

On Jun 4, 2012, at 8:53 PM, Michael Hall wrote:

> I was recently looking at some old finder api's. and some of it involves fields that are pretty much obsolete.
> I was trying to figure out which flag bit setting corresponded to the locked checkbox in File>Get Info. At first I thought it was the name locked flag in finder flags. It turned out insted to be the node locked setting of a different flag. Name locked apparently had something to do with files in the old classic System folders.
> Assuming this bit is now never set, and not contents unpredictable, you could abscond with it as a user field associated with every file on the machine. Set it to mean whatever you want until someone else has the same idea.

Please don’t abuse fields that are meant for some completely different purpose on the assumption that no one is still using it. Instead, just use an extended attribute. Much safer, since you’re actually using something for its intended purpose.

Charles

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: 
 >How to know if a file has been opened before? (From: Antonio Nunes <email@hidden>)
 >Re: How to know if a file has been opened before? (From: Michael Hall <email@hidden>)

  • Prev by Date: Re: How to know if a file has been opened before?
  • Next by Date: Re: How to get SDK 10.5 on XCode 4?
  • Previous by thread: Re: How to know if a file has been opened before?
  • Next by thread: Re: How to know if a file has been opened before?
  • Index(es):
    • Date
    • Thread