IGListKit v3.3.0 Release Notes

Release Date: 2018-04-23 // almost 6 years ago
  • โœจ 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)

    • ๐Ÿ›  Fixed a bug caused when applying interactive reordering on a single section item while dragging it through the last spot of the collection view and back to some (non-last) target position. Ofir Gluzman #1289