Re: Monitoring NSData writeToFile progress

Fabian Schuiki <[email protected]> Fri, 30 Apr 2010 10:08:18 +0200
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
Okay, that's what I expected.

Thank you very much!
Fabian
	
Fabian Schuiki
[email protected]

Am 28.04.2010 um 14:00 schrieb Christiaan Hofman:

> 
> On Apr 28, 2010, at 13:43, Fabian Schuiki wrote:
> 
>> Hi,
>> 
>> I'm writing an NSData to disk in a background thread. The data may get pretty large and I'd love to be able to observe its progress. Is there any way to do that?
>> 
>> Best,
>> Fabian
> 
> Not if you use the NSData API to just write the data to file. You can observer the progress when you do the writing yourself, in smaller sized blocks of data.
> 
> Christiaan
>