代码改变世界

随笔档案-2010年09月

对Plist文件进行读写

2010-09-07 17:09 by Tracy E, 1017 阅读, 收藏,
摘要: 读Plist文件NSString *errorDesc = nil;NSPropertyListFormat format;NSString *rootPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0];NSString *plistPath = [rootPath stringByAppendingPathComponent:@"bookmarks.plist"];if (![[NSFileManager defau 阅读全文