• 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: Hash Values in Custom Classes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hash Values in Custom Classes


  • Subject: Re: Hash Values in Custom Classes
  • From: Peter Lübke <email@hidden>
  • Date: Wed, 30 Mar 2011 02:27:47 +0200


Am 29.03.2011 um 23:26 schrieb Jean-Daniel Dupas:


Am 28.03.2011 um 20:06 schrieb Sean McBride:


Are you aware that starting in 10.6, the OS provides 'file reference URLs' which are much like FSRefs. See:

<http://developer.apple.com/library/mac/#releasenotes/Cocoa/ Foundation.html>

Good to know. I'm very interested in your experience related to:
- Under which circumstances will fileReferenceURL break when decoded from an archive? (Item moved, overwritten ...)

File reference should not be archived. They are valid only for the application lifetime.

Obviously. This makes me think that somewhere inside fileReferenceURL there is an FSRef in use.


Use Bookmark (provided by NSURL class too) for archiving.


I was referring to this statement in the Release Note:
" When asked to perform keyed archiving, file reference URLs will encode their minimal bookmark data and when decoded will resolve to a file path URL (if you wish to receive a file reference URL from this, please call -[NSURL fileReferenceURL] on the resulting item). "


...so it seems we are talking about the same point.

But right, my question was obsolete because I overlooked that fact that bookmarks are alias files - so this will give me what I can expect from Alias Manager.

Thank you for pointing me to this,

Peter
_______________________________________________

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


References: 
 >Hash Values in Custom Classes (From: Peter Lübke <email@hidden>)
 >Re: Hash Values in Custom Classes (From: Mike Abdullah <email@hidden>)
 >Re: Hash Values in Custom Classes (From: Peter Lübke <email@hidden>)
 >Re: Hash Values in Custom Classes (From: Sean McBride <email@hidden>)
 >Re: Hash Values in Custom Classes (From: Peter Lübke <email@hidden>)
 >Re: Hash Values in Custom Classes (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: Cocoa alternative for method aliasing?
  • Next by Date: Re: Binding tablecolumn to attribute of specific object in to-many relationship?
  • Previous by thread: Re: Hash Values in Custom Classes
  • Next by thread: Setting the selection of an array controller?
  • Index(es):
    • Date
    • Thread