There are many ways to save data on iOS devices. Some like a database are likely overkill for a game, and other methods like serialization are great, but things could still be easier.
I’ve found a very cool time saving library that allows you to easily save and load ints, floats, and NSString’s to an automatically created .PLIST file. No fuss at all just one line of code to save, or one line to load each of these datatypes. A nice simple quick solution if you want to install some simple data saving into an app. If you need to save a few floats of game data it is an ideal solution.
The library is ABLFXSaveSystem from Alexander Blunck and can be found on Github here:
https://github.com/ablfx/ABLFXSaveSystem
A cool example of a simple, but useful open source library.
©2011 iPhone, iOS 4, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.
.