I make an instance of a subclass of UITableViewController without a xib. I am not going to be using a xib file. I build the data in the -(id)init
routine. I create the data for the table in the -(id)init
function, and use the methods of the UITableViewDataSource and UITableViewDelegate protocols to display and select the data. I load the UITableViewController subclass into a UINavigationController using the [[UINavigationController alloc] initWithRootViewController: myTVC];
All of this succeeds IF I do not define the loadView method for the class. If I make a blank loadView method an empty UIView is put on the screen.
My Question: How do I write the correct loadView function for a simple subclass of UITableViewController?