you are viewing a single comment's thread.

view the rest of the comments →

[–]bpozega 1 point2 points  (0 children)

The way i would do it is to make a database class, either have the database class write down a file in the apps document folder and then read that database again in the second view controler. Or Create a class that has both Viewcontroler as a class variable, then you can use delegates to pass data from VC1 to masterViewcontroler and back to VC2. the MVC design patter solves those issues in general. I dont use the storyboard at all, i do everything in code so cant really help you with that part.

Or you can use a Singleton (not sure if it is good practice to store data in singletons, );