i'm trying to pass data from one view controller to another, here i'm using the button to perform segue
@IBAction func entered(_ sender: UIButton) {
performSegue(withIdentifier: "segue1", sender: self)
}
and i've checked the identifier also correct spelled and when i click on entered button then is error come up
2018-06-21 09:08:26.859232+0530 passData2[2886:91217] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UITableViewController loadView] instantiated view controller with identifier "UIViewController-2KP-T7-TXr" from storyboard "Main", but didn't get a UITableView.'
anyone has idea why this is coming up