I am getting my custom class object after button action method. Now I need to store multiple custom objects in NSMutableArray and then store this array in
NSMutableArray
This two methods will mainly used to store and retrieve custom object's property.
store
retrieve
- (void)encodeWithCoder:(NSCoder *)encoder ; - (id)initWithCoder:(NSCoder *)decoder;
Take look at @chrissr's answer, @Brad Larson's answer