Contents

encode(_:)

Encodes a rectangle structure.

Declaration

func encode(_ rect: NSRect)

Discussion

NSCoder’s implementation invokes encodeValue(ofObjCType:at:) to encode rect.

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

See Also

Encoding General Data