C gurus,
Is there a way to simply pass an object from one ViewController to another? I searched on the web, however they all use seperate .nib files. Is there a way to implement passing in storyboard?
Thanks for help!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I have, in fact, recently written an article about this. As Aalok said, using
prepareForSegue:sender:will do the trick.Check out the article for a detailed explanation if you’d like.