Instance Method

convertRect:toCoordinateSpace:

Converts a rectangle from the coordinate space of the current object to the specified coordinate space.

Required.

Declaration

- (CGRect)convertRect:(CGRect)rect toCoordinateSpace:(id<UICoordinateSpace>)coordinateSpace;

Parameters

rect

A rectangle specified in the coordinate system of the current object.

coordinateSpace

The coordinate space into which rect is to be converted.

Return Value

A rectangle specified in the target coordinate space.

See Also

Converting Between Coordinate Spaces

- convertPoint:toCoordinateSpace:

Converts a point from the coordinate space of the current object to the specified coordinate space.

Required.

- convertPoint:fromCoordinateSpace:

Converts a point from the specified coordinate space to the coordinate space of the current object.

Required.

- convertRect:fromCoordinateSpace:

Converts a rectangle from the specified coordinate space to the coordinate space of the current object.

Required.