JEKScrollableSectionCollectionViewLayout Versions Save

A UICollectionView flow layout with individually scrollable sections

v1.3.0

4 years ago

v1.2.0

5 years ago

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:

  • bounces
  • alwaysBounceHorizontal
  • showsHorizontalScrollIndicator
  • scrollIndicatorInsets
  • indicatorStyle
  • decelerationRate
  • pagingEnabled
  • scrollEnabled

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;

v1.1.1

5 years ago
  • Fixes section headers overlapping in empty sections #7

v1.1.0

5 years ago
  • Adds support for background views per section, via collectionView:viewForSupplementaryElementOfKind:atIndexPath:
  • Adds a new protocol, JEKCollectionViewDelegateScrollableSectionLayout to observe scrolling per section