I want a custom class based on NSObject to be serializable. I have read this but want to ask some additional Qs.
- Does
NSObject
implementNSCoder
? - I also want to ask if I can serialize an array of some objects of this custom class that I want to be serializable. Does this require some special init?
- I know that I should implement
initWithCoder
andencodeWithCoder
. Is it the variables in my custom object class that I should Encode/Decode there?