Re: Help with NSData dataWithContentsOfURL
Re: Help with NSData dataWithContentsOfURL
- Subject: Re: Help with NSData dataWithContentsOfURL
- From: cocoa-dev <email@hidden>
- Date: Wed, 3 Feb 2010 09:26:33 -0500
Thanks Graham, here's what I'm thinking. The documents for my app are fileWrappers. Before the document is saved for the first time I can copy the files to a temp folder and during a save move them into the fileWrapper. I guess I need to just abandon the whole NSData idea altogether. Too bad.
On Feb 3, 2010, at 9:19 AM, Graham Cox wrote:
>
> On 04/02/2010, at 1:08 AM, cocoa-dev wrote:
>
>> Is there an alternative to capture the data of a wrapper and a folder?
>
> Not really, because of what these things are. At best a folder could be reduced to a tree of data objects, which is what a wrapper is. But to reduce an arbitrary folder to a single data item is inadvisable as the size of that data is potentially unbounded.
>
> You could copy the file/folder to a location within your app's support directory and save the path to it, perhaps?
>
> --Graham
>
>
_______________________________________________
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