Re: UIDocument + NSFileWrapper crashes on opening
Re: UIDocument + NSFileWrapper crashes on opening
- Subject: Re: UIDocument + NSFileWrapper crashes on opening
- From: Luke the Hiesterman <email@hidden>
- Date: Thu, 20 Jun 2013 14:52:30 -0700
By default, UIDocument does eager reading. You can override that in -readFromURL:error:.
Luke
On Jun 20, 2013, at 2:37 PM, Markus Spoettl <email@hidden>
wrote:
> On 6/20/13 11:16 PM, Luke the Hiesterman wrote:
>> Probably exactly as you said. Try overriding -readFromURL:error: to implement incremental reading.
>
> OK, but isn't NSFileWrapper supposed to facilitate exactly that by providing sub-wrappers instead of actual data of contained files/folders, which can be read on demand when needed?
>
> Is NSFileWrapper on iOS doing things differently than on OSX in that regard?
>
> What kind of folder hierarchy/size can it read? 140MB doesn't seem enormously big (of course it does depend on what it does with it).
>
> Regards
> Markus
> --
> __________________________________________
> Markus Spoettl
_______________________________________________
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