I want to download images from a network path. But since there is a risk of large files, I thought it would be nice to write / add partial parts of NSdata directly to a file in the document directory. Is it possible? I have an asynchronous URLConnection installed. He addresses the delegate
-(void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data
method. In this method, I would like to add the so-loaded “data” to the file directly to disk. Can you help a little? If it were a butt without a low C level, that would be fine.
source
share