ahmedAlmasri / SNCollectionViewLayout

Collection View Layouts is a set of custom flow layouts for iOS which imitate general data grid approaches for mobile apps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

customize layout by section

mmdock opened this issue · comments

I would like to have my first section look something like

Screen Shot 2019-05-06 at 11 13 37 AM

but then i would like the subsequent sections to looks more like a normal cell where the width is the length of the collection view, but have a smaller height.

Something more like:
Screen Shot 2019-05-06 at 11 15 13 AM

How could I use the SNCollectionViewLayout to achieve this ?

Hello @mmdock

you are must change CollectionViewLayout for section
read it

stackoverflow-53605022

@ahmedAlmasri when i try to do that while also using your SNCollectionVIewLayout, my changes for other sections seem to be ignored.