Skip to content

UITableView

kevnm67 edited this page Sep 23, 2021 · 1 revision

Extensions on UITableView

Properties

indexPathForLastRow

IndexPath of the tableviews last row.

var indexPathForLastRow: IndexPath? 

lastSection

Index of the tableviews last section.

var lastSection: Int? 

Methods

indexPathForLastRow(inSection:)

IndexPath of the last row in a given section or nil.

func indexPathForLastRow(inSection section: Int) -> IndexPath? 

Parameters

  • section: Section to evaluate.

Clone this wiki locally