What's wrong with my code? I keep getting this error, I don't know why it says method cannot be an @objc override because the type of parameter 2 cannot be represented in Objective-C.
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destinationViewController.
// Pass the selected object to the new view controller.
let vc = segue.destinationViewController as! MovieViewController
if let indexPath = self.tableView.indexPathForSelectedRow{
let item = TableData[indexPath.row]
vc.senddMovie = item
}
}