I have NSDictionary with some keys. One key has object of custom NSObject type class.
If I try to use archivedDataWithRootObject: to get NSData from NSDictionary it crashes because of 1 key that has object of custom class.
I used NSCoding too for custom class's object key but got this error- '*** -encodeObject:forKey: cannot be sent to an abstract object of class NSCoder: Create a concrete instance!'
How to solve this?