I am beginner in Swift and probably this is fundamental stuff but I need to get the index of the row (cell) I clicked on in the tableview.
I have TableViewController with predefined methods, but I wasn't able to find what I am looking for.
Rows (cells) are string from the string array.
ANSWER:
override func tableView(_ tableView: UITableView,
didSelectRowAt indexPath: IndexPath) {
print(indexPath.row)
}