Re: How to know if a file has been opened before?
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