samedi 21 mars 2015

iOS Controller Pattern - same instance through 3 viewcontrollers

i want to use the same instance of a model class e.g. MyClass myclass - in 3 tabs (3 view controllers).


Should i alloc this instance in a rootcontroller ? Or is a simple way to delegate this instance throw 3 tab viewcontroller ?


Thanks


Tobias


Aucun commentaire:

Enregistrer un commentaire