G guydor macrumors member Original poster Mar 10, 2009 67 0 Jul 5, 2010 #1 Hi, I would like to save the objects and the order of them in my UITableView. Any object that the user adds goes to a NSMutableArray. How can I save them that I'll be able to see them even if the user quit the app? Thanks!
Hi, I would like to save the objects and the order of them in my UITableView. Any object that the user adds goes to a NSMutableArray. How can I save them that I'll be able to see them even if the user quit the app? Thanks!
B bweberapps macrumors member Jun 25, 2010 43 0 Jul 5, 2010 #2 Look into NSDictionary to save the items to disk, instead of using an NSMutableArray.
G guydor macrumors member Original poster Mar 10, 2009 67 0 Jul 5, 2010 #3 You didn't understand me: bweberapps said: Look into NSDictionary to save the items to disk, instead of using an NSMutableArray. Click to expand... I don't want to save the objects into an NSMutableArray. The NSMutableArray is the objects
You didn't understand me: bweberapps said: Look into NSDictionary to save the items to disk, instead of using an NSMutableArray. Click to expand... I don't want to save the objects into an NSMutableArray. The NSMutableArray is the objects
chown33 Moderator Staff member Aug 9, 2009 11,446 9,676 A sea of green Jul 5, 2010 #4 Read the "Archives and Serialization" guide: http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/Archiving/Archiving.html
Read the "Archives and Serialization" guide: http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/Archiving/Archiving.html