Instance Property

allowedClasses

The set of coded classes allowed for secure coding.

Declaration

var allowedClasses: Set<AnyHashable>? { get }

Discussion

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

See Also

Secure Coding

var requiresSecureCoding: Bool

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