Update a variable in a TableViewController
问题 I need to update a variable in a TableViewController and I can't find the way to do it, can someone explain me why this is not working please? I'm getting mad. From my view controller this is the code I'm running: let storyboard = UIStoryboard(name: "Main", bundle: nil) let TV = storyboard.instantiateViewControllerWithIdentifier("tbController") as myTableViewController TV.x = "test" And then, from the TableViewController class: class myTableViewController: UITableViewController { var x:String