Type Property


A rectangle that has infinite extent.


static let infinite: CGRect

See Also

Special Values

static let null: CGRect

The null rectangle, representing an invalid value.

static var zero: CGRect

The rectangle whose origin and size are both zero.


Creates a rectangle with origin (0,0) and size (0,0).

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software