What am I doing wrong?
Usually you will have a model (which can be a collection of objects, not just one) that are shared between your document or application. When a view controller is created, it is given a reference to the model (or to some part of the model). If he, in turn, creates another view controller, he passes the model reference to this object. Thus, the model is shared by all view controllers. The model is not forgotten when the view manager is freed up because other controllers are aware of this.
It looks like you have the beginning of the model, but it is limited to one controller. Perhaps you have the same situation with some of your other view controllers. Think about how you can link all these small models together with a larger object. This will make it easier to remember and also make it possible to assign responsibility for keeping the entire model in one object, such as an application delegate or a root view controller.
Caleb source share