iOS Passing Data Between View Controllers pt2 - prepareForSegue Example

Опубликовано: 09 Октябрь 2024
на канале: mybringback
13,524
52

http://www.mybringback.com
http://www.todaysawesomesauce.com

iOS Passing Data Between View Controllers pt2 - prepareForSegue Example

Storyboarding has extremely simplified iOS programming within Xcode. In this tutorial, we detail iOS passing data between view controllers with the method prepareForSegue. When a segue is triggered, but before the visual transition occurs, the storyboard runtime calls the current view controller's prepareForSegue:sender: method so that it can pass any needed data to the view controller that is about to be displayed. The source code can be found at http://www.mybringback.com/tutorial-s.... Hit us up if you have any questions!

(void)performSegueWithIdentifier:(NSString *)identifier sender:(id)sender

If you want to learn more, please check out http://www.mybringback.com

We would love to hear from you on facebook, twitter, or in the forums!

  / mybringback  
  / mybringback   .

Visit Our Friends @ Stone River E-Learning for Additional Tutorials - http://bit.ly/1fjsXTn

Coupon 20% Off HTML & CSS for Beginners - http://bit.ly/1MmuYfw