IGListKit/Source
Ryan Nystrom 3f9dea21e0 Track batch updates in object and explicit state
Summary:
Batch updates are complicated b/c its unknown when the update block will actually execute. When executing the block, we want to collect inserts/deletes/reloads/moves (item and section). Allow mutations to happen synchronously outside of the update block.

Tracking state will also help with the auto-diff where we need to allow re-entrant updates.

Peeling off a chunk from #494

Issue fixed: #288

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn't tested.
- [x] I added an entry to the `CHANGELOG.md` for any breaking changes, enhancements, or bug fixes.
Closes https://github.com/Instagram/IGListKit/pull/525

Reviewed By: jessesquires

Differential Revision: D4656463

Pulled By: rnystrom

fbshipit-source-id: 8f4d3dc21b03d595e02ee9ee9664277e8ead0531
2017-03-07 09:33:03 -08:00
..
Common Add item-level moves to IGListCollectionContext 2017-02-10 18:01:18 -08:00
Internal Track batch updates in object and explicit state 2017-03-07 09:33:03 -08:00
IGListAdapter.h Revert D4640425: [IGListKit] kill IGListCollectionView. GH issue #409 2017-03-06 16:15:31 -08:00
IGListAdapter.m Revert D4640425: [IGListKit] kill IGListCollectionView. GH issue #409 2017-03-06 16:15:31 -08:00
IGListAdapterDataSource.h Backed out changeset b72b444c1197 2017-02-12 14:30:39 -08:00
IGListAdapterDelegate.h Regen docs for 2.0 release. Close #181 2016-11-21 15:44:01 -08:00
IGListAdapterUpdater.h Add allowsBackgroundReloading Flag to ListAdapterUpdater to Give User Control of Behavior 2017-01-03 10:44:04 -08:00
IGListAdapterUpdater.m Track batch updates in object and explicit state 2017-03-07 09:33:03 -08:00
IGListAdapterUpdaterDelegate.h Rename "withCollectionView:" param to "collectionView:" 2017-02-21 09:15:45 -08:00
IGListCollectionContext.h Add IGListCollectionContext API to get visible indexes. 2017-02-28 14:32:06 -08:00
IGListCollectionView.h Revert D4640425: [IGListKit] kill IGListCollectionView. GH issue #409 2017-03-06 16:15:31 -08:00
IGListCollectionView.m Revert D4640425: [IGListKit] kill IGListCollectionView. GH issue #409 2017-03-06 16:15:31 -08:00
IGListCollectionViewLayout.h Vertical UICollectionViewLayout supporting inline sections (take 2) 2017-02-10 18:01:22 -08:00
IGListCollectionViewLayout.mm Test and fix layout fitting width and inset sections with newline 2017-03-04 16:15:51 -08:00
IGListDisplayDelegate.h Docs updates and refinements, #181 2016-11-15 11:44:10 -08:00
IGListKit.h Revert D4640425: [IGListKit] kill IGListCollectionView. GH issue #409 2017-03-06 16:15:31 -08:00
IGListReloadDataUpdater.h Docs updates and refinements, #181 2016-11-15 11:44:10 -08:00
IGListReloadDataUpdater.m Add item-level moves to IGListCollectionContext 2017-02-10 18:01:18 -08:00
IGListScrollDelegate.h Initial commit 2016-10-11 10:12:17 -04:00
IGListSectionController.h Summary: 2017-01-23 11:14:00 -08:00
IGListSectionController.m Initial commit 2016-10-11 10:12:17 -04:00
IGListSectionType.h Docs updates and refinements, #181 2016-11-15 11:44:10 -08:00
IGListSingleSectionController.h Added object to single section selection delegate callback 2017-01-11 15:14:01 -08:00
IGListSingleSectionController.m Added object to single section selection delegate callback 2017-01-11 15:14:01 -08:00
IGListStackedSectionController.h Fix spelling in documentation 2017-03-07 08:31:06 -08:00
IGListStackedSectionController.m Add IGListCollectionContext API to get visible indexes. 2017-02-28 14:32:06 -08:00
IGListSupplementaryViewSource.h Docs updates and refinements, #181 2016-11-15 11:44:10 -08:00
IGListUpdatingDelegate.h Add item-level moves to IGListCollectionContext 2017-02-10 18:01:18 -08:00
IGListWorkingRangeDelegate.h Docs updates and refinements, #181 2016-11-15 11:44:10 -08:00
Info.plist Release 2.1.0 prep 2017-01-04 10:14:37 -08:00