Possible Duplicate:
iOS: store two NSMutableArray in a .plist file
I've always refrained from using plists as I'm not really sure how to use one.
Could anyone give a simple code example of using a plist? I'm interested in saving an NSArray
or NSDictionary
to a plist and then retrieving it again later.
Are there any advantages/disadvantages to storing either an NSArray
or an NSDictionary
? Also, are there any rules with regards to what you can or can't store in a plist?