Skip to content

3.3.0

Compare
Choose a tag to compare
@rnystrom rnystrom released this 23 Apr 17:09
· 367 commits to stable since this release

3.3.0

Enhancements

  • Add support for UICollectionView's interactive reordering in iOS 9+. Updates include -[IGListSectionController canMoveItemAtIndex:] to enable the behavior, -[IGListSectionController moveObjectFromIndex:toIndex:] called when items within a section controller were moved through reordering, -[IGListAdapterDataSource listAdapter:moveObject:from:to] called when section controllers themselves were reordered (only possible when all section controllers contain exactly 1 object), and -[IGListUpdatingDelegate moveSectionInCollectionView:fromIndex:toIndex] to enable custom updaters to conform to the reordering behavior. The update also includes two new examples ReorderableSectionController and ReorderableStackedViewController to demonstrate how to enable interactive reordering in your client app. Jared Verdi (#976)

  • 5x improvement to diffing performance when result is only inserts or deletes. Ryan Nystrom (afd2d29)

  • Can always show sticky header although section data is empty. Marcus Wu (#1129)

  • Added -[IGListCollectionContext dequeueReusableCellOfClass:withReuseIdentifier:forSectionController:atIndex:] to allow for registering cells of the same class with different reuse identifiers. Jeremy Lawrence (f47753e)

Fixes

  • Fixed Xcode 9.3 build errors. Sho Ikeda (#1143)

  • Copy objects when retrieving from datasource to prevent modification of models in binding section controller. Kashish Goel (#1109)

  • Fixed footer is sticky when stickyHeader is true aelam (#1094)

  • Updated IGListCollectionViewLayout to rely on layoutAttributesClass instead of vanilla UICollectionViewLayoutAttributes Cole Potrocky #1135

  • -[IGListSectionController didSelectItemAtIndex:] is now called when a scrollViewDelegate or collectionViewDelegate is set. Ryan Nystrom (#1108)

  • Fixed binding section controllers failing to update their cells when the section controller's section changes. Chrisna Aing (#1144)