Ive made a simple ios utility application in xcode (version 4.4.1) but Ive realised that I need to store one integer in persistent memory. As far as I know using core data is the best way to achieve this.
Ive added the core data framework to my app but I dont know the code that I need to add for it to work.
Could someone please help
Thanks
If you just need to store/retrieve an integer,
NSUserDefaultsshould be the way to go.Saving
Retrieving
Reference:
http://www.icodeblog.com/2008/10/03/iphone-programming-tutorial-savingretrieving-data-using-nsuserdefaults/