Posted By

mattneary on 06/27/11


Tagged

view child


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

dvel


Move to Child View


 / Published in: Objective C
 

  1. //Move to child view
  2. NSInteger row = popOutSlot-1;
  3. if (self.bookDetailViewController == nil) {
  4. BookDetailViewController *aBookDetail = [[BookDetailViewController alloc] initWithNibName:@"BookDetailView" bundle:nil];
  5. self.bookDetailViewController = aBookDetail;
  6. [aBookDetail release];
  7. }
  8. bookDetailViewController.title = [NSString stringWithFormat:@"%@", [booksArray objectAtIndex:row]];
  9.  
  10. [self.navigationController pushViewController:bookDetailViewController animated:YES];

Report this snippet  

You need to login to post a comment.