Contents

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