IGListKit/Source/Internal
Ryan Nystrom a15ea08614 Move section controller mutation API to object provided in update block
Summary:
We constantly have random bugs pop up when mutations are made outside of a batch update. This change restricts the mutation API to a batch context object (which is just an `IGListAdapter`) so they can only be done **inside an update block**.

- Fixed open source project
- Confirmed open source examples build
- Updated all of Instagram.app to use this API
- Changelog breaking changes entry

Fixes #392

Reviewed By: jessesquires

Differential Revision: D4754129

fbshipit-source-id: 11d32a0fac3e50c9edbb01e92a8a0c7b8a43cf2d
2017-03-22 12:46:49 -07:00
..
IGListAdapterInternal.h Move section controller mutation API to object provided in update block 2017-03-22 12:46:49 -07:00
IGListAdapterProxy.h Initial commit 2016-10-11 10:12:17 -04:00
IGListAdapterProxy.m Initial commit 2016-10-11 10:12:17 -04:00
IGListAdapterUpdaterInternal.h Renamed batchUpdatesCollector to batchUpdates fixes #556 2017-03-16 16:18:21 -07:00
IGListBatchUpdates.h Move section controller mutation API to object provided in update block 2017-03-22 12:46:49 -07:00
IGListBatchUpdates.m Move section controller mutation API to object provided in update block 2017-03-22 12:46:49 -07:00
IGListBatchUpdateState.h Track batch updates in object and explicit state 2017-03-07 09:33:03 -08:00
IGListCollectionViewLayoutInternal.h add integer pixel scaled for frame 2017-03-17 12:33:34 -07:00
IGListDisplayHandler.h Consider supplementary views when sending display events 2017-02-13 07:01:13 -08:00
IGListDisplayHandler.m Consider supplementary views when sending display events 2017-02-13 07:01:13 -08:00
IGListSectionControllerInternal.h Add isLast/FirstSection API to IGListSectionController 2016-10-13 12:44:12 -07:00
IGListSectionMap.h Add stricter build flags 2016-11-19 11:58:58 -08:00
IGListSectionMap.m optimize. avoid unncessary copies. 2017-02-14 15:33:43 -08:00
IGListStackedSectionControllerInternal.h Move section controller mutation API to object provided in update block 2017-03-22 12:46:49 -07:00
IGListWorkingRangeHandler.h Initial commit 2016-10-11 10:12:17 -04:00
IGListWorkingRangeHandler.mm Initial commit 2016-10-11 10:12:17 -04:00
UICollectionView+IGListBatchUpdateData.h Initial commit 2016-10-11 10:12:17 -04:00
UICollectionView+IGListBatchUpdateData.m Move section controller mutation API to object provided in update block 2017-03-22 12:46:49 -07:00