UITableView - What is indexPath?
<p>I'm doing a tutorial online right now building out a table of cells and I have a question. In the second function tableView below... what exactly is indexPath? </p>

<p>More importantly, how  does the program know to update the value being passed through indexPath by one each time the function is called?</p>

<pre><code>var rowNumber = 0

func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
    return 50
}

func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
    let rowCell = UITableViewCell(style: UITableViewCellStyle.default, reuseIdentifier: "Cell")
    rowCell.textLabel?.text = String(indexPath.row + 1)
    return rowCell
}
</code></pre>