Passing data between View Controllers using Segue
“Passing data to the destination Controller” when a segue is triggered will be achieved by overriding method prepareForSegue:sender:. Generally, you pass data and NOT the source view controller, to the destination view controller. “data” may be a certain aspect of your application “model”. It’s an object like “User”, or perhaps an array containing “User”, etc. … Read more