Open Instance Propertyswift 6.0.3Foundation

requiresSecureCoding

Indicates whether the archiver requires all archived classes to conform to NSSecureCoding.

override var requiresSecureCoding: Bool { get set }

If you set the receiver to require secure coding, it will cause a fatal error if you attempt to archive a class which does not conform to NSSecureCoding.