Contents

encodeByrefObject(_:)

An encoding method for subclasses to override such that it creates a proxy, rather than a copy, when decoded.

Declaration

func encodeByrefObject(_ anObject: Any?)

Discussion

NSCoder’s implementation simply invokes encode(_:).

This method must be matched by a corresponding decodeObject() message.

See Also

Encoding General Data