• 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 do I get a file reference w/o relying on the path?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How do I get a file reference w/o relying on the path?
      • From: Ken Thomases <email@hidden>
  • Prev by Date: What patterns did we miss in "Cocoa Design Patterns"?
  • Next by Date: Re: How do I get a file reference w/o relying on the path?
  • Previous by thread: Re: How do I get a file reference w/o relying on the path?
  • Next by thread: Re: How do I get a file reference w/o relying on the path?
  • Index(es):
    • Date
    • Thread