Overridden by subclasses to substitute another object for itself during encoding.
Original signature is '- (id)replacementObjectForCoder:(NSCoder *)aCoder'
Available in Mac OS X v10.0 and later.
![](../icons/collapse_all.gif)
![](../icons/collapse_all.gif)
- aCoder (NSCoder)
- The coder encoding the receiver.
![](../icons/collapse_all.gif)
The object encode instead of the receiver (if different).
![](../icons/collapse_all.gif)
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)