After the first tap the row gets highlighted (gray background), and then I've to tap any of the following rows to perform the segue.
I do get the right readings, for instance indexPath.row
returns 0 if I tapped the first row initially to begin with and then it doesn't matter which row I tap next to make it work.
It's a subclass of UITableViewController
override func tableView(_ tableView: UITableView, didDeselectRowAt indexPath: IndexPath) {
// delegate?.onSelect(users![indexPath.row])
print("selected %d", indexPath.row)
self.performSegue(withIdentifier: "segueToUserForm", sender: users![indexPath.row])
}
I did erase all content and settings from the hardware menu of the simulator.