I want to pass information like number between two views in navigation controller. But I don’t know how.
Thanks
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.
Another option might be using singletons if the “numbers” are just a synonym for your application model. Remember, you should use the MVC-concept!
http://cocoawithlove.com/2008/11/singletons-appdelegates-and-top-level.html
Try the SynthesizeSingleton.h macro if you want a tough solution!