//.children is a list of container view controller of the parent view controller // since you only have one container view, // safe to grab the first one ([0]), and cast it to table VC class tableViewController = self.children[0] as?
// ViewController.swift class ViewController: UIViewController { var tableViewController : ProfileTableViewController?