Assuming that I create a custom class to hold an array of NSMutableDictionary.
@interface CustomStore : NSObject
{
NSMutableArray *allDictionary;
}
Can I use archiveRootObject:toFile to save the list?
What if I want to retrieve a custom class from the dictionary.
Do I need to comfirm encodeObject:forKey: in the custom class?
Yes, and yes. Here’s a decent tutorial: http://cocoadevcentral.com/articles/000084.php