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!