Apologies if this is a duplicate, but I couldn't find anything on an initial search. And I'm struggling to get my head around the design.
I am attempting to create some interactive transitions between UICollectionViewLayouts using the new iOS7 APIs - UICollectionViewTransitionLayout Documentation
However, I am unsure how best to manage multiple UICollectionViewLayouts
within a single UICollectionViewController
, or how to interactively move between one and another UICollectionViewController
.
This question is more of a design issue, on how to write the code rather than not understanding the actual implementation of interactive layouts and changing layouts - should I be using a UICollectionViewController
? I don't really need to subclass a UICollectionViewLayout
as I am quite happy with the functionality the UICollectionViewFlowLayout
provides.
My ideal and final goal is achieve a UIViewController
(or multiple UIViewControllers
) that each have a UICollectionView within them, that get push and popped between using UIGestureRecognizers
.
Thanks.
EDIT
Also found a similar question that was submitted just before mine, UICollectionView interactive layout transition using iOS 7 APIs