I have several UITableViewControllers. I want to use one of those controllers as delegate and data source for a UITableView in some other view. I have an IBOutlet in the view controller containing the table view, and it is connected to the table view in IB.
How do I connect the table view to the delegate and datasource (which is a table view controller I already have to display the same content)? I have tried draging a NSObject in the black bar below my view controller and setting the class to MyTableViewController, connecting the delegate and datasource to this, but it wil crash when the view loads, without a descriptive error.
Will the viewDidAppear: on the delegate fire (this is where I fetch the content for the table view)?
I would really have liked to post a screenshot, but I am too new.
Can this help?
Edit1: Even if this helps and you find a solution, I am tempted to say you have an architecture problem.