Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. -(void)prepareForSegue:(UIStoryBoardSegue *)segue sender:(id)sender {
  2. if([segue.identifier isEqualToString:@"MyIdentifier"]) {
  3.  
  4. // get destination
  5. CustomViewController *destination = (CustomViewController *)[segue destinationViewController];
  6.  
  7. // pass information of some kind
  8. destination.exampleProperty = @"Hello World";
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement