Im stuck with the problem to use both vertical and horizontal scroll direction in a UICollectionView in the same UIViewController.
What I've done so far is first a UICollectionView. In top of the UICollectionView I've got a Collection Reusable View. My solution is to implement an other UICollectionView inside of the reusable view but got errors when running the project.
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'the view returned from -collectionView:viewForSupplementaryElementOfKind:atIndexPath (UICollectionElementKindSectionHeader,<NSIndexPath: 0xc000000000000016> {length = 2, path = 0 - 0}) was not retrieved by calling -dequeueReusableSupplementaryViewOfKind:withReuseIdentifier:forIndexPath: or is nil ((null))
So Im actually handling two different CollectionViews in one UIViewController in the same Delegate and Datasource methods.
It is a better approach to build it with a UITablewView? Than add the collectionviews to different UITableViewCells? Or better to start with an UIScrollView and then add two different UICollectionViews to the scrollview?