Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
- CookLesson *lesson = [lessons objectAtIndex:indexPath.row];
- DetailController *detailController = [[DetailController alloc] initWithNibName:"your-nib-name" bundle:nil];
- detailController.lesson = lesson;
- // push the controller on the nav stack, etc.
- }
Add Comment
Please, Sign In to add comment