Prepare for Segue in Swift
This seems to be due to a problem in the UITableViewController subclass template. It comes with a version of the prepareForSegue method that would require you to unwrap the segue. Replace your current prepareForSegue function with: This version implicitly unwraps the parameters, so you should be fine.