Group Group Group Group Group Group Group Group Group

Collapsable and Expandable collection views

Hi experts,

I need your help on creating a collapsable and expandable collection views I followed Beginning Collection Views course and created the collection views successfully.
I want to make all the sections collapsed until user clicks it, then it should expand showing its cells.
Any ideas how to achieve this.

Hi @bahaahany, this RW tutorial may be of interest with how a collection view cell can expand when a certain condition is met. In this tutorial for example, the cell height will increase once it reaches the top of the list. If you are interested in using a cocoa pod, this also might of interest to you, Collapse and expand UICollectionView sections with one method call.

Best,
Gina

This topic was automatically closed after 166 days. New replies are no longer allowed.