• 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: Antonio Nunes <email@hidden>
  • Date: Tue, 05 Jun 2012 09:14:32 +0100

On 5 Jun 2012, at 00:09, Stephen J. Butler wrote:

> You can use extended attributes to attach information to a file. Maybe
> serialize your session state as a plist and use setxattr/getxattr to
> manipulate it. Follows the file as it's moved around.

Thanks Stephen,

I think the extended attributes are pretty persistent though, they'll follow the file around across to other computers, right? I wouldn't want that. I only need the data on the particular user's system. Starting to look like l'm probably better off devising my own scheme.

-António

-----------------------------------------------------------
What you have inside you expresses itself through both your
choice of words and the level of energy you assign to them.
The more healed, whole and connected you feel inside,
the more healing your words will be.

--Rita Goswami
-----------------------------------------------------------



_______________________________________________

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


  • Follow-Ups:
    • Re: How to know if a file has been opened before?
      • From: "Stephen J. Butler" <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: "Stephen J. Butler" <email@hidden>)

  • Prev by Date: Re: How to get SDK 10.5 on XCode 4?
  • Next by Date: Re: CoreData, automatic migration and sandbox problems.
  • 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