encodeBycopyObject(_:)
An encoding method for subclasses to override such that it creates a copy, rather than a proxy, when decoded.
Declaration
func encodeBycopyObject(_ anObject: Any?)Discussion
NSCoder’s implementation simply invokes encode(_:).
This method must be matched by a corresponding decodeObject() message.
See Also
Encoding General Data
encodeArray(ofObjCType:count:at:)encode(_:forKey:)encodeByrefObject(_:)encodeBytes(_:length:)encodeBytes(_:length:forKey:)encodeConditionalObject(_:)encodeConditionalObject(_:forKey:)encode(_:)encode(_:forKey:)encode(_:forKey:)encodeCInt(_:forKey:)encode(_:forKey:)encode(_:forKey:)encode(_:forKey:)encode(_:)