Re: How do I get a file reference w/o relying on the path?
Re: How do I get a file reference w/o relying on the path?
- Subject: Re: How do I get a file reference w/o relying on the path?
- From: Gregory Weston <email@hidden>
- Date: Sun, 04 Apr 2010 13:06:14 -0400
Ken Thomases <email@hidden> wrote:
> As of Snow Leopard, alias records are deprecated in favor of bookmark data, but, again, it's probably overkill. (Both alias records and bookmark data are more suitable if the reference is to be persisted for use by a later process. Also, both can apply more robust searching heuristics to find an appropriate file even if it isn't the original. For example, if the original is deleted and replaced with a new file of the same name.)
Having missed the introduction of the new bookmark routines, and having not gotten any warnings in my code, I was a bit surprised to read that alias records are deprecated. From a quick scan, it looks like the bookmark methods are wrappers around the alias manager with (after about 20 years) an official mechanism for creating Finder alias files.
G
_______________________________________________
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