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 (Cocoa-dev@lists.apple.com)
> 
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/devlists%40shadowlab.org
> 
> This email sent to devli...@shadowlab.org

-- Jean-Daniel




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to