requiresSecureCoding
Indicates whether the archiver requires all archived classes to resist object substitution attacks.
Declaration
var requiresSecureCoding: Bool { get }Discussion
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.