When It comes to .plist files, it's a bad practice to use them to save data other than user settings ?
For example, using plists to save the data of levels in a videogame, or the prices of an item in a RPG game, etc.
iphoneobjective c
When It comes to .plist files, it's a bad practice to use them to save data other than user settings ?
For example, using plists to save the data of levels in a videogame, or the prices of an item in a RPG game, etc.
Best Answer
Using a plist is fine if you want all the data or the amount of data is small. Also consider NSUserDefaults, they are a real nice wrapper and even support integers without boxing. For large data stores especially where only a portion of the data is needed at any one tine use SQLite or CoreData. Also keep in mind that binary plists are smaller and much faster over a network connection.