It is very simple. Just create your appdelegate using this function:
- (void)applicationDidFinishLaunching {
TableSubclass *tvc = [[TableSubclass alloc] init];
UINavigationController *navBar = [[UINavigationController alloc] initWithRootViewController:tvc];
navBar.tabBarItem.title = @"Foo";
NSArray *tabViewControllerArray = [NSArray arrayWithObjects:navBar, nil];
self.tabBarController.viewControllers = tabViewControllerArray;
self.tabBarController.delegate = self;
[tvc release];
}
Now just create a subclass of UITableView and everything is set up.
, , tabViewControllerArray.