Example for file read/write with NSFileHandle
问题 Are there good examples for doing file read/write in chunks with objective c? I am new to objective-c and iPhone API, here is the sample code that I wrote. Are there better ways to do it? -(void) performFileOperation { @try { NSFileHandle *inputFileHandle; NSFileHandle *outputFileHandle; //check whether the output file exist, if not create a new one. NSFileManager *morphedFileManager; outputFileManager = [NSFileManager defaultManager]; if ([outputFileManager fileExistsAtPath: self