Im trying to make a UITableView with a View with Details but I get two errors. After the following code I got two times the same errors: 'Internal compiler error: Bus error' and I have no idea why? Can someone help me? You can find a image of the code under here.
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
NSInteger row = [indexPath row];
if (self.verwaltungDetailViewController == nil){
verwaltungDetailViewController *aVerwaltungDetail = [[verwaltungDetailViewController alloc] initWithNibName:@"VerwaltungDetailView" bundle:nil];
self.verwaltungDetailViewController = aVerwaltungDetail;
[aVerwaltungDetail release];
}
verwaltungDetailViewController.title = [NSString stringWithFormat:@"%@", [verwaltungsArray objectAtIndex:row]];
NatersAppDelegate *delegate = [[UIApplication sharedApplication] delegate];
[delegate.VerwaltungNavController pushViewController:verwaltungDetailViewController animated:YES];
}
Thanks a lot in advance for your help!