Re: Hash Values in Custom Classes
Re: Hash Values in Custom Classes
- Subject: Re: Hash Values in Custom Classes
- From: Jean-Daniel Dupas <email@hidden>
- Date: Tue, 29 Mar 2011 23:26:35 +0200
Le 29 mars 2011 à 22:04, Peter Lübke a écrit :
>
> 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. Use Bookmark (provided by NSURL class too) for archiving.
> - What about performance? I often find that NSFileManger is a lot slower than my custom classes - would I have to expect the same with fileReferenceURL?
>
> For right now, I'm happy with my wrapper classes - they are highly reusable, I'm using them in several apps which all are backward compatible back to 10.4, and they have initializers for about anything that can possibly be used to get a file reference.
>
> Cheers,
>
> 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
-- Jean-Daniel
_______________________________________________
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