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 examplesReorderableSectionController
andReorderableStackedViewController
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
Copy objects when retrieving from datasource to prevent modification of models in binding section controller. Kashish Goel (#1109)
๐ Fixed footer is sticky when
stickyHeader
istrue
aelam (#1094)โก๏ธ Updated IGListCollectionViewLayout to rely on layoutAttributesClass instead of vanilla
UICollectionViewLayoutAttributes
Cole Potrocky #1135-[IGListSectionController didSelectItemAtIndex:]
is now called when ascrollViewDelegate
orcollectionViewDelegate
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