标签:mic 文件 tom class 读取数据 des new ons 写入
NSArray *arr = @[@"lnj", @"lmj", @"jjj", @"xcq"]; BOOL flag = [arr writeToFile:@"/Users/LNJ/Desktop/persons.plist" atomically:YES]; NSLog(@"%i", flag);
NSArray *newArr = [NSArray arrayWithContentsOfFile:@"/Users/LNJ/Desktop/persons.xml"]; NSLog(@"%@", newArr);
标签:mic 文件 tom class 读取数据 des new ons 写入
原文地址:http://www.cnblogs.com/xufengyuan/p/6636854.html