Contents

indexPathForRow(at:)

Returns an index path that identifies the row and section at the specified point.

Declaration

func indexPathForRow(at point: CGPoint) -> IndexPath?

Parameters

  • point:

    A point in the local coordinate system of the table view (the table view’s bounds).

Return Value

An index path representing the row and section associated with point, or nil if the point is out of the bounds of any row.

See Also

Getting cells and section-based views