joelekstrom / JEKScrollableSectionCollectionViewLayout

A UICollectionView flow layout with individually scrollable sections
MIT License
73 stars 16 forks source link

Support for vertical scrolling section with horizontal scrolling sections #19

Open rajdhakate opened 4 years ago

rajdhakate commented 4 years ago

Hi,

What could be the simplest way to achieve vertical scrolling sections between horizontal scrolling sections.

Thanks for the library.

joelekstrom commented 4 years ago

Hi! This is currently not supported by the library - it requires some refactoring so each layout function uses an axis modifier. In theory all math should be the same, except flipping the axis and using height instead of width. Not something I currently plan to do, but I’ll happily accept a PR if anyone wants to give it a go.

If you can support iOS13+ only you can use the built in composite layouts to achieve it

rajdhakate commented 4 years ago

Okay. Thank you for early response. For now i think maybe i'll use the traditional collectionview layout. I'll keep this issue open for future.