I have a bunch of connection related methods that I need to execute before the table is actually being populated (before any of the delegate methods for a UITableView are called). The connection methods will add objects in a NSMutableArray that will later be used to populate the table view.
Is there a way to tell the iPhone to wait until all the connection methods are done, before it starts with the delegate methods relating to a UITableView in a UITableViewController?
Cheers!
Cant you just do a
[table reloadData]when you are finished with all the connections? All the delegate methods really should be safe to use if the data source is still empty.