- iOS 6.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
trueif the receiver requires
If you set the receiver to require secure coding, it will throw an exception if you attempt to unarchive a class which does not conform to
The secure coding requirement for
NSKeyed is designed to be set once at the top level and remain on. Once enabled, attempting to call
set with a value of
false will throw an exception. This is to prevent classes from selectively turning secure coding off.
Note that the getter is on the superclass,
NSCoder for more information about secure coding.