Re: Alias Record, new methods?
Re: Alias Record, new methods?
- Subject: Re: Alias Record, new methods?
- From: Gregory Weston <email@hidden>
- Date: Thu, 19 May 2005 12:42:03 -0400
On May 19, 2005, at 11:05 AM, Lorenzo Puleo wrote:
in my old applications I used to store an alias record within my
files, so
later I was able to read that alias record and retrieve its target
file on
the disk, even if the user moved that file on the same disk.
Now I suppose that with Cocoa and Unix, I should use a different
method to
do that. Actually I store only absolute pathnames into my files,
within a
NSDictionary. Can I store something like an alias record or a
relative or
absolute sym link too? If so, how should I do? And how should I
retrieve
later the target file?
Flatten the Alias into an NSData object. It's a handful of fairly
small functions depending on how extravagant you want to get with
your interface. I've got some utility routines if you'd like them; in
total they're a bit longer than I'd prefer to post to the list unbidden.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden