Contents

rectForRow(at:)

Returns the drawing area for a row that an index path identifies.

Declaration

func rectForRow(at indexPath: IndexPath) -> CGRect

Parameters

  • indexPath:

    An index path object that identifies a row by its index and its section index.

Return Value

A rectangle defining the area in which the table view draws the row or CGRectZero if indexPath is invalid.

See Also

Getting the drawing areas for the table