IGListKit/Source
Ryan Nystrom 4dec244416 Add item-level moves to IGListCollectionContext
Summary:
Adding an API to do item-level (cell) moves on the collection view. This complicates things a little bit because of all the issues that moving sections have while in batch updates (e.g. simultaneous animation UICV bugs). Thankfully we use pretty strict types so the compiler does most of the work for us.

Closes #145

- [x] Tests build and pass
- [x] Add `IGListBatchUpdateData` tests to check moves during
  - [x] ~~Moving within a reloaded section (no op)~~ can't reload sections
  - [x] Moving within a deleted section (no op)
  - [x] Moving within a moved section (convert section ops to delete+insert)
  - [x] Moving an index path that is also reloaded (convert to delete+insert path)
- [x] Add move unit tests to `IGListAdapterUpdater`
- [x] Add move unit tests to `IGListReloadDataUpdater` (mostly for code coverage...)
- [x] Add move unit tests to `IGListStackedSectionController`
- [x] Add `CHANGELOG.md` entry for 3.0.0
- [x] Test moving without batch
Closes https://github.com/Instagram/IGListKit/pull/418

Reviewed By: jessesquires

Differential Revision: D4521732

Pulled By: rnystrom

fbshipit-source-id: 99a46d1cbb0cc1f857a62ff6ca257aff6e8b7f25
2017-02-10 18:01:18 -08:00
..
Common Add item-level moves to IGListCollectionContext 2017-02-10 18:01:18 -08:00
Internal Add item-level moves to IGListCollectionContext 2017-02-10 18:01:18 -08:00
IGListAdapter.h Add -[IGListAdapter sectionControllerForSection:] 2017-02-09 11:31:17 -08:00
IGListAdapter.m Add item-level moves to IGListCollectionContext 2017-02-10 18:01:18 -08:00
IGListAdapterDataSource.h Decouple Empty View from backgroundView, make it move with PTR 2017-02-06 08:14:00 -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 Add item-level moves to IGListCollectionContext 2017-02-10 18:01:18 -08:00
IGListAdapterUpdaterDelegate.h Add item-level moves to IGListCollectionContext 2017-02-10 18:01:18 -08:00
IGListCollectionContext.h Add item-level moves to IGListCollectionContext 2017-02-10 18:01:18 -08:00
IGListCollectionView.h Fix some IGCollectionView unavaliable methods hint 2017-02-10 09:03:09 -08:00
IGListCollectionView.m disables prefetchEnabled by default 2016-12-13 07:13:58 -08:00
IGListDisplayDelegate.h Docs updates and refinements, #181 2016-11-15 11:44:10 -08:00
IGListGridCollectionViewLayout.h Cleanup layout 2016-11-21 23:28:58 -08:00
IGListGridCollectionViewLayout.m Clean internal NSArray copying 2017-01-22 14:44:14 -08:00
IGListKit.h Revert D4521797: [IGListKit][PR] Vertical UICollectionViewLayout supporting inline sections 2017-02-10 11:33:07 -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 Docs updates and refinements, #181 2016-11-15 11:44:10 -08:00
IGListStackedSectionController.m Add item-level moves to IGListCollectionContext 2017-02-10 18:01:18 -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