I'd like to send a message to a UITableViewController that is attached to a TabBarController, and has a naviagation bar. However, I'm not sure what to do to send the message. Currently (for testing purposes), I have:
- (void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController {
NSLog( @"Selected tabbar");
[viewController sendMessage];
}
NSLog fires off fine before the code fails on the next line with "unrecognized selector sent to instance...", which tells me I'm close, but I'm sending -sendMessage to the wrong object. What am a looking for to send -sendMessage to the UITableViewController instance?