これら 2 つのケースのうち、ファイルの作成が速いのはどちらですか?
Case 1:
======
NSData *data = [Some data];
[data writeToFile:filePath atomically:YES];
Case 2:
=======
NSFileManager *fileManager = [NSFileManager defaultManager];
[fileManager createFileAtPath:filePath contents:data attributes:nil];
ありがとうビランチ。