iOS/macOS - 逐行写入文件 (NSFileHandle)

文章目录


- (void)saveDataByLine{
   
    
    NSString *filePath = @"/Users/xx/Library/Containers/com.ds.TMXExport/Data/Library/Caches/a.txt";
     
    NSLog(@"filePath : %@", filePath);
    
    if (!

你可能感兴趣的:(Apple,开发,mac,ios,NSFileHandle,逐行写入文件)