Re: Write with NSFileWrapper vs. copy with NSFileManager
Re: Write with NSFileWrapper vs. copy with NSFileManager
- Subject: Re: Write with NSFileWrapper vs. copy with NSFileManager
- From: Graham Cox <email@hidden>
- Date: Wed, 26 Mar 2014 14:27:16 +1100
How about when a document is a file package on disk and contains a variety of resources? I've found NSFileWrapper to be a fairly natural fit for that sort of situation. If not, what else would you use?
--Graham
On 26 Mar 2014, at 2:11 pm, Jens Alfke <email@hidden> wrote:
> For what it’s worth, I’ve been coding with Cocoa for 13 years and have almost never found a reason to use NSFileWrapper. I think the only times are when I’ve needed to add image or file attachments to an NSTextView (because the API basically requires it.)
>
> —Jens
> _______________________________________________
>
> 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
_______________________________________________
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