In the running apps view(double-tap Home button) there are two rows each which contain two different types of cells. How would one implement this using UICollectionView?
I more or less want to do this where the lower row cells are slightly narrower than the upper row such that when you swipe to scroll, the items in both rows are centred on the screen at the same time but because the items in row 1 are slightly narrower, they will scroll slightly faster than the items in row 0 creating a parallax-like effect. An extreme example of this would be https://github.com/allaboutapps/A3ParallaxScrollView in the tree example, however this is done with a custom UIScrollView subclass. And so, I know that this is possible but not sure if I can do it with UICollectionView and may need to use UIScrollView instead(however would prefer to figure it out with UICollectionView). In my attempts for UICollectionView, I was thinking that I'd need to use one type of cell for row 0 and another type of cell for row 1, but it's not clear to me how to specify a different layout for each of the rows, which appears to be what I need to do. Any thoughts on this? maz _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
