Is there a tutorial for saving and restoring an array of custom objects?
I'm trying to save custom objects so it's a little more involved than just using NSUserDefaults.
awakeFromNib
2010-09-19 09:35:20
+2
A:
I'm presuming you mean saving to disk and retrieving at some later point.
This is known as archiving in objective-c and can be performed on any object that implements NSCoding, including NSArray.
This looks like a fairly good tutorial here.
Greg Sexton
2010-09-18 15:54:34
That tutorial is for cocoa not cocoa-touch. It also uses deprecated methods.
awakeFromNib
2010-09-19 09:25:17