3.3.0
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 examplesReorderableSectionControllerandReorderableStackedViewControllerto 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
stickyHeaderistrueaelam (#1094) -
Updated IGListCollectionViewLayout to rely on layoutAttributesClass instead of vanilla
UICollectionViewLayoutAttributesCole Potrocky #1135 -
-[IGListSectionController didSelectItemAtIndex:]is now called when ascrollViewDelegateorcollectionViewDelegateis set. Ryan Nystrom (#1108) -
Fixed binding section controllers failing to update their cells when the section controller's section changes. Chrisna Aing (#1144)