This is probably me being a little dim, I am setting up a UITableViewController via a UINavigationController, I have subclassed UITableViewController: (see below) and have implemented the datasource methods to get my table up and running
@interface RootViewController : UITableViewController {
NSArray *dataList;
}
@property(nonatomic, retain) NSArray *dataList;
@end
My question is: when I came to implement the viewDidLoad for RootViewController I wanted to set the title for the table (See image below). I looked at the docs for UITableViewController and found that it had a property called "tableView" so I tried ...
[[self tableView] setTitle:@"Eeek!"];
This did not work, what I should have tried was ...
[self setTitle:@"Eeek!"];
What I am wondering, when you subclass UITableViewController and add code your actually dealing with the tableView and not the UITableViewController, does this make sense?
Gary