Instance Property

allowedClasses

The set of coded classes allowed for secure coding.

Declaration

@property(readonly, copy) NSSet<Class> *allowedClasses;

Discussion

Secure coders check this set of allowed classes before decoding objects, and all objects must implement the NSSecureCoding protocol.

See Also

Secure Coding

requiresSecureCoding

Indicates whether the archiver requires all archived classes to resist object substitution attacks.