Informs the delegate that one given object is being substituted for another given object.
- iOS 2.0+
- macOS 10.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The archiver that sent the message.
The object being replaced in the archive.
The object replacing
objectin the archive.
This method is called even when the delegate itself is doing, or has done, the substitution. The delegate may use this method if it is keeping track of the encoded or decoded objects.