Indicates whether the archiver requires all archived classes to resist object substitution attacks.
- iOS 6.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
If you set the archiver to require secure coding, it throws an exception if you attempt to archive a class which doesn’t conform to
Note that the getter is on the superclass,
NSCoder for more information about secure coding.
The format in which the receiver encodes its data.