Andrew H
Andrew H

Reputation: 25

How write + NSDictionary in file

 NSMutableDictionary *dicta = [[NSMutableDictionary alloc]  init];

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

I know only how write

W+ ?

Upvotes: 0

Views: 1522

Answers (1)

Jordan
Jordan

Reputation: 21760

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.

Upvotes: 1

Related Questions