one select a cell and then another cell swift code example
Example: did select row at
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
let selectedRow = toDo[indexPath.row]
performSegue(withIdentifier: "segueTwo", sender: selectedRow)
}