Re: Monitoring NSData writeToFile progress
Christiaan Hofman <[email protected]> Wed, 28 Apr 2010 14:00:38 +0200
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
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