Contents

encodeRootObject(_:)

An encoding method for subclasses to override to encode an interconnected group of objects, starting with the provided root object.

Declaration

func encodeRootObject(_ rootObject: Any)

Discussion

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

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

See Also

Related Documentation

Encoding General Data