A UICollectionView flow layout with individually scrollable sections
This release exposes more stuff you can do with the internal scroll views that manages per-section scrolling. Previously, you could only enable and disable scroll indicators, but now all these settings are configurable:
You can either change it for the whole layout by setting layout.defaultScrollViewConfiguration
, or per section by implementing
- (nullable JEKScrollViewConfiguration *)collectionView:(UICollectionView *)collectionView layout:(JEKScrollableSectionCollectionViewLayout *)layout scrollViewConfigurationForSection:(NSUInteger)section;
collectionView:viewForSupplementaryElementOfKind:atIndexPath:
JEKCollectionViewDelegateScrollableSectionLayout
to observe scrolling per section