This seems so remedial to me, but I am having issues with it. I simply want to transition to another tableviewcontroller when a certain static cell is tapped.
I control-clicked from the cell to the new tableviewcontroller and there was no issue with that -- the segue is created. But when I run the app, nothing happens when I click the cell. Anyone have this same issue pop up?
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
let storyboard : UIStoryboard = UIStoryboard (name: "groups", bundle: nil)
let groupsVC = storyboard.instantiateViewController(withIdentifier: "groups") as! GroupsViewController
if indexPath.section == 1 && indexPath.row == 0 {
self.navigationController?.pushViewController(groupsVC, animated: true)
}