jeudi 12 mars 2020

How can I share collection between view controllers without passing it back and forth?

In my app I have 3 view controllers, each of them working on the same collection of elements. Is there a way to share that collection other than passing it back and forth while performing segues? Can I somehow make collection accessible by all 3? What would be the right way to go about it?

Aucun commentaire:

Enregistrer un commentaire