Instance Property


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


var requiresSecureCoding: Bool { get }


true if this coder requires secure coding; false otherwise.

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

See Also

Secure Coding

var allowedClasses: Set<AnyHashable>?

The set of coded classes allowed for secure coding.