Adds a class translation mapping to
NSKeyed whereby objects encoded with a given class name are decoded as instances of a given class instead.
- iOS 2.0+
- macOS 10.2+
- tvOS 9.0+
- watchOS 2.0+
- Mac Catalyst 13.0+Beta
The class with which to replace instances of the class named
The ostensible name of a class in an archive.
When decoding, the class’s translation mapping is used only if no translation is found first in an instance’s separate translation map.