I want to set a section header (an image as a section header) at a specific index path in my collectionView (after a certain number of cells).
Attempt to solve issue - So far when I try set the number of sections to 2 or more, it just duplicates the same cells. Also I can't find how to set the actual header. I know for a tableView it'd be titleForHeaderInSection
(set the section header) and numberOfRowsInSection
(set the rows for each section) but it doesn't work for a collectionView.
Question - How can I set a header at a specific index path
I'm using Swift 3