iOS Passing Data Between View Controllers pt1 - prepareForSegue Example

2014-04-15 87

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

iOS Passing Data Between View Controllers pt1 - 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-series/12396/ios-passing-data-between-views/. 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!

http://www.facebook.com/mybringback
http://www.twitter.com/mybringback

Free Traffic Exchange