I am building a container view controller that would host > 2 child view controllers.
Each of these child view controllers needs to interact with the other view controllers. e.g. one of the child view controllers needs to refresh content in the other view controller when the refresh button is pressed inside of it.
What is the best way to manage these interactions?
I was thinking of having a delegate back from each of the child view controllers and having the container view controller pass this to the relevant child view controller.
Aucun commentaire:
Enregistrer un commentaire