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.
精彩评论