While tableV
is declared to be a TableView
, it's most likely initialized with a simple UIViewConrtoller
, as it appears in your code. Try changing the line to:
TableView *tableV = [[TableView alloc] initWithNibName:@"TableView" bundle:nil];
And TableView
should be a subtype of UITableViewController
.
By the way, the same should probably happen with GameView
as well.
notnoop
2010-01-06 19:07:03