How can I pass information between 2 different View Controllers?
- by sagiftw
Hi, This is a simple question:
I have 2 different view controllers, and each one has its own data stored in its .m file.
I want to take a value, for instance, an integer value (int i=3;) that is declared in ViewController1 and pass it to ViewController2, so I will be able to use that value in the second view controller.
Can anyone please tell me how to do it?
Thanks in advance,
Sagiftw