This question already has an answer here:
- Is completely static UICollectionView possible? 2 answers
I want to add a vertical collection view that contains 7 static cells. I know how to do it dynamically, but i don't see a reason to do so.
Do i have to use the cellForRow method? I Added a collection view to my viewController, and added 4 cells, wired up the delegate from the collectionView to the vc (using storyBoard), but when i run it it shows me an empty collectionView.
I did set up the numberOfSections to return 1 and the numberOfCellsInSection to return 7. So did i miss anything? or do i have to conform to DataSource protocol and implement the cellForRow method ? (in TableView i can skip the cellForRow when using static cells).
Thanks for the help.