Contents

rect(forSection:)

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

Declaration

func rect(forSection section: Int) -> CGRect

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