Saving an NSDictionary of NSArrays of custom objects
问题 I have a dictionary (it's mutable if that makes a difference) which contains nsarrays, which in turn contain (subclass of NSObject)s I have implemented initWithCoder and encodeWithCoder like this: -(id)initWithCoder:(NSCoder *)aDecoder { self = [super init]; self.Title = [aDecoder decodeObjectForKey:@"Title"]; self.SiteAPIURL = [aDecoder decodeObjectForKey:@"SiteAPIURL"]; self.ID = [aDecoder decodeObjectForKey:@"ID"]; return self; } -(void) encodeWithCoder:(NSCoder *)aCoder { [aCoder