Problem
As illustrated, I have a container view (B) which resides inside of a view with other controls on it (A). The container view (B) holds a collection view, which I would like to update whenever a button is pressed on view (A).
I have gone through the UICollectionView Basics but feel I must be missing something. My natural response when wanting to communicate between UIViewControllers is to go off and build something based on either a callback or other delegate mechanism. Before I reinvent the wheel, any thoughts?
Currently when I click the buttons in the view, my collection data is updated and I call setNeedsDisplay and reloadData on the collection view (accessed via the childViewControllers property). I've tried calling setNeedsDisplay on the container view itself as well (no joy).
BTW - I have reviewed similar SO questions, which do not provide a matching use-case but do seem to indicate a lack of insight on this particular type of issue (if I've missed a great answer please let me know):
Solution
Please note that I've shared my solution below but additional answers are still welcome (especially if it's a better way)