IGListKit/Source
Brandon Darin 290d592983 Clean listAdapterUpdater state if collectionView becomes nil during update
Summary:
If an `IGListAdapterUpdater` was unable to retrieve a collection view in `[IGListAdapterUpdater performBatchUpdatesWithCollectionViewBlock:]`, it would return early without cleaning state. This would sometimes cause future updates to crash, as this `IGListAdapterUpdater`'s state would now be out-of-sync.

This change also ensures that the `IGListAdapterUpdater`'s completion blocks run when `[IGListAdapterUpdater performBatchUpdatesWithCollectionViewBlock:]` and `[IGListAdapterUpdater performReloadDataWithCollectionViewBlock:]` return early due to having a nil `UICollectionView`.

Reviewed By: rnystrom

Differential Revision: D8056539

fbshipit-source-id: 1af7b675ec6805c2d8031f32d8a4c8e8929564e6
2018-05-23 15:06:17 -07:00
..
Common Add experimental collectionView getter fix 2018-05-11 08:08:44 -07:00
Internal Add experimental collectionView getter fix 2018-05-11 08:08:44 -07:00
IGListAdapter.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListAdapter.m give section controllers access to collection view scrolling traits 2018-05-14 14:56:54 -07:00
IGListAdapterDataSource.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListAdapterDelegate.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListAdapterMoveDelegate.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListAdapterUpdateListener.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListAdapterUpdater.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListAdapterUpdater.m Clean listAdapterUpdater state if collectionView becomes nil during update 2018-05-23 15:06:17 -07:00
IGListAdapterUpdaterDelegate.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListBatchContext.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListBindable.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListBindingSectionController.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListBindingSectionController.m Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListBindingSectionControllerDataSource.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListBindingSectionControllerSelectionDelegate.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListCollectionContext.h give section controllers access to collection view scrolling traits 2018-05-14 14:56:54 -07:00
IGListCollectionScrollingTraits.h give section controllers access to collection view scrolling traits 2018-05-14 14:56:54 -07:00
IGListCollectionView.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListCollectionView.m Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListCollectionViewDelegateLayout.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListCollectionViewLayout.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListCollectionViewLayout.mm Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListDisplayDelegate.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListGenericSectionController.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListGenericSectionController.m Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListKit.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListReloadDataUpdater.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListReloadDataUpdater.m Add experimental collectionView getter fix 2018-05-11 08:08:44 -07:00
IGListScrollDelegate.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListSectionController.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListSectionController.m Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListSingleSectionController.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListSingleSectionController.m Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListStackedSectionController.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListStackedSectionController.m give section controllers access to collection view scrolling traits 2018-05-14 14:56:54 -07:00
IGListSupplementaryViewSource.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListTransitionDelegate.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListUpdatingDelegate.h Add experimental collectionView getter fix 2018-05-11 08:08:44 -07:00
IGListWorkingRangeDelegate.h Relicense to MIT 2018-05-01 14:50:56 -07:00
Info.plist Update README and podspec with new license, bump version to 3.4 2018-05-01 16:10:19 -07:00