I have a iOS app with a view which contains a container holding a tableView. I want to access a function from this tableView controller, but I don't want to create a new instance of this tableView in the process. I tried this and it creates a new instance meaning that I can't change variables that are displayed on the view.
From my FirstViewController, how can I access the function updateBuckets
in my BucketTableViewController
which is already running an instance?
Currently I'm trying self.BucketTableViewController.updateBuckets(self.bigArray)
and receiving the error FirstViewController
does not have a member named BucketTableViewController