I am trying to segue from a table view controller (prototype cells) to a view controller. At this time I am not trying to pass any data.
It crashes on:
//This is in the table view controller class
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
{
self.performSegue(withIdentifier: "showReceiptDetails", sender: self)// Where showReceiptDetails is the id of the segue in the attributes inspector.
}
In the storyboard I set the segue id to "showReceiptDetails". The segue is of Kind "Push". I have attempted to control drag from the tableviewcontroller and from a prototype cell with in the table view. I get the same results.
Is there a step I am missing?
I actually just found the issue when I was searching for the crash log for you. I was inheriting from UITableViewController when I needed to be inheriting from UIViewController. I made this mistake along the way when I was attempting to get it to segue to any controller. Thank you for the help!