Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. -(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
  2.  
  3. {
  4. if ([[segue identifier] isEqualToString:@"showStores"]) {
  5. [[segue destinationViewController] setStore:[showStation objectAtIndex: [self.myPicker selectedRowInComponent:0]]];
  6. }
  7. }
  8.  
  9. EatUITableViewController *test=[self.storyboard instantiateViewControllerWithIdentifier:@"Test"];
  10.  
  11. [test setTeststore:self.store];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement