classForCoder
Overridden by subclasses to substitute a class other than its own during coding.
Declaration
var classForCoder: AnyClass { get }Discussion
This method is invoked by NSCoder. NSObject‘s implementation returns the receiver’s class. The private subclasses of a class cluster substitute the name of their public superclass when being archived.