Contents

decodeCGSize(forKey:)

Decodes and returns the Core Graphics size structure associated with the specified key in the coder’s archive.

Declaration

func decodeCGSize(forKey key: String) -> CGSize

Parameters

  • key:

    The key that identifies the size information.

Return Value

The CGSize structure.

Discussion

Use this method to decode size information that was previously encoded using the encode(_:forKey:) method.

See Also

Related Documentation

Decoding Geometry-Based Data