Hi all,
Which is the faster way of creating files ?
Case 1:
======
NSData *data = [Some data];
[data writeToFile:filePath atomically:YES];
Case 2:
=======
NSFileManager *fileManager = [NSFileManager defaultManager];
[fileManager createFileAtPath:filePath contents:data attributes:nil];
Thanks Biranchi