Instance Method

rectForSection:

Returns the drawing area for a specified section of the table view.

Declaration

- (CGRect)rectForSection:(NSInteger)section;

Parameters

section

An index number identifying a section of the table view. Plain-style table views always have a section index of zero.

Return Value

A rectangle defining the area in which the table view draws the section.

See Also

Getting the Drawing Areas for the Table

- rectForRowAtIndexPath:

Returns the drawing area for a row identified by index path.

- rectForFooterInSection:

Returns the drawing area for the footer of the specified section.

- rectForHeaderInSection:

Returns the drawing area for the header of the specified section.