Skip to content

Commit

Permalink
print section and row
Browse files Browse the repository at this point in the history
  • Loading branch information
toshi0383 committed Oct 22, 2021
1 parent 1ca5a8c commit b4797ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ extension ViewController: UITableViewDataSource {
func tableView(_ tableView: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath) {
let messages = sections[indexPath.section]
let message = messages[indexPath.row]
print("willDisplay: \(message)")
print("willDisplay: \(message) at (section: \(indexPath.section), row: \(indexPath.row))")
}
}

Expand Down

0 comments on commit b4797ff

Please sign in to comment.