I'm curious what happens or if it's bad if you do not include the for: indexPath
when creating a UITableViewCell
. For example, here is the standard creation of a cell taken from a basic UITableViewController
:
let cell = tableView.dequeueReusableCell(withIdentifier: "reuseIdentifier", for: indexPath)
I'm curious if there would be any negative affects from creating a cell like so:
let cellWithoutIndexPath = tableView.dequeueReusableCell(withIdentifier: "reuseIdentifier")