daily pastebin goal
24%
SHARE
TWEET

Untitled

a guest Jan 22nd, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
  2.     CookLesson *lesson = [lessons objectAtIndex:indexPath.row];
  3.     DetailController *detailController = [[DetailController alloc] initWithNibName:"your-nib-name" bundle:nil];
  4.     detailController.lesson = lesson;
  5.     // push the controller on the nav stack, etc.
  6. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top