Sets a translation mapping on this unarchiver to decode objects encoded with a given class name as instances of a given class instead.
- iOS 2.0+
- macOS 10.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The class with which to replace instances of the class named
The ostensible name of a class in an archive.
When decoding, the receiver’s translation map overrides any translation that may also be present in the class’s map (see