When I run the app in the iPhone Simulator, everything works just fine .. but with time I’ll try to get my iPhone
Thread 1: Application Received
signal:” Sigbart 1″
why?
Here is the code:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
golfbaner *detailViewController = [[golfbaner alloc] initWithNibName:@"Golfbaner" bundle:nil];
detailViewController.golf = [banenavn objectAtIndex:indexPath.row];
[self.navigationController pushViewController:detailViewController animated:YES];
[detailViewController release];
}
XCode says it’s HERE:
[self.navigationController pushViewController:detailViewController animated:YES];
it goes wrong
I can admit that I’m quite a beginner…. lol
seems to be u are new bee.so here i assume u would be created the golfbaner with nib file .so it would be same as filename for nibname.
Golfbaner.NIB is not with your project.//check out this
maybe like golfbaner.NIB
so use
golfbaner *detailViewController = [[golfbaner alloc] initWithNibName:@”golfbaner” bundle:nil];