UICollectionView is embed in UITableViewCell. The collection views are horizontal scrollable. The UITableView can have a section title for each UICollectionView and the number of UICollectionView is equal to the number of sections.
In your example, I just changed section number to 1 and rows count to 8 then I found one issue.
When I scroll first row collectionview then in bottom of collectionview automatically scroll.
Looking for the solution for this auto scroll issue.