I'm doing this application made of 3 view controllers. The current flow is like this:
1) The first takes you to the second .
2) You enter a password to reach the third view controller.
3) In the third the user enters a series of messages saved in an nsmutablearray.
Now, I want to send the array to the first view controller. I pass through the view controllers using segues made on the storyboard.
So vc1 is connected to vc2, vc2 to vc3 and vc3 to vc1. I tried using protocols, notification center and so on. Protocols don't work and i don't get why, notification center the data gets sent but then the array in vc1 when I try to use it, it is actually set back to nil which I also don't know why.
What can be done to solve this issue, I feel its a pretty straightforward implementation and shouldn't face be that complicated.
Thanks in advance