Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How to load a table from a .nib when an item in a previous table is selected?
- [tableView setDelegate:self];
- - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
- if(indexPath.section == 0){ // the first row
- MyView *myView = [[MyView alloc] init];
- [self.navigationController pushViewController:myView animated:YES];
- [myView release];
- }
- }
Add Comment
Please, Sign In to add comment