开发者

How write + NSDictionary in file

 NSMutableDictionary *dicta = [[NSMutabl开发者_如何学GoeDictionary alloc]  init];

 [dicta writeToFile:[docDirectory stringByAppendingPathComponent:foo] atomically:YES];

I know only how write

W+ ?


If you're talking about appending to a file. Usually, you would modify the NSMutableDictionary using code and then save the entire Dictionary to disk using the code you posted above.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜