Re: Resource fork question
Re: Resource fork question
- Subject: Re: Resource fork question
- From: Chris parker <email@hidden>
- Date: Tue, 2 Mar 2004 13:53:23 -0800
On Mar 2, 2004, at 1:17 PM, Marc Pergand wrote:
I was thinking that these icon previews are stored in the resource
fork.
you're right, in a icns resource.
it seems that it isn't possible to copy a file's resource fork from
Cocoa.
No, only carbon API.
While not all metadata is preserved, the resource fork is copied
correctly using NSFileManager's copyPath:toPath:handler: method.
This will handle the cases where you're copying to/from NFS correctly
as well.
.chris
--
Chris Parker
Cocoa Frameworks
Apple Computer, Inc.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.