Preparing for segue in embedded tableView in Swift
问题 I have a UITableViewController with static cells embedded in a normal ViewController through a storyboard. This is al working as expected. However when I want to prepare for a segue when a cell on the embedded tableview is clicked the app crashes without a real error. I have a class for the embedded UITableViewController, TableViewVC, and a class in which it's embedded, RootVC. I want to implement the method: override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?); I