Sets a mapping for this archiver to encode instances of a given class with the provided name, rather than their real name.
- iOS 2.0+
- macOS 10.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The name of the class that the receiver uses uses in place of
The class for which to set up a translation mapping.
When encoding, the receiver’s translation map overrides any translation that may also be present in the class’s map.