I am using four tabs in my tabBar navigation, the third tab accesses Core Data to load a table which does get loaded successfully. I am having a problem creating a detail table. I have my detail nib file set up and connected. I also have the data set up and working. When I tap on a cell, it lights up but nothing happens. It doesn't even call up my detailViewController. I've been struggling with this for two days. If anyone has any ideas, please help - thanks
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
if (self.detailsView == nil)
{
self.detailsView = [[TipsROTRDetailViewController alloc]
initWithNibName:@"TipsROTRDetailViewController" bundle:[NSBundle mainBundle]];
}
TipsROTRInfo *info = [_fetchedResultsController objectAtIndexPath:indexPath];
TipsROTRDetails *detailsText = info.details;
self.detailsView.title = @"TIPS";
self.detailsView.descriptionText = detailsText.tipsText;
//NSLog(@"Text: %@", self.detailsView.descriptionText); **I do get data here
[self.navigationController pushViewController:self.detailsView animated:YES];
//release it
self.detailsView = nil;
}