Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
- {
- NSString *name = [self.array objectAtIndex: [indexPath row]];
- id controller = [[NSClassFromString(name) alloc] initWithNibName: name bundle: nil];
- [controller setTitle: name];
- [self.navigationController pushViewController: controller animated:YES];
- [controller release];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement