NSCoder *coder;
coder=[[NSCoder alloc]init];
[coder encodeObject:@"value" forKey:@"frame"];
Error
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -encodeObject:forKey: cannot be sent to an abstract object of class NSCoder: Create a concrete instance!`
this breaks during run time.can any body help me to find it what i am doing wrong?
Need to create a model class, and in this model class, need to implement a NSCodingProtocol
e.g Book Class