IGListKit/Source/Internal
Kevin Delannoy 9ddc64f4ce Add cell (un)highlight APIs
Summary:
This implements the `collectionView:didHighlightItemAtIndexPath:` and `collectionView:didUnhighlightItemAtIndexPath:` `UICollectionViewDelegate` APIs and forward the calls to the appropriate `IGListSectionController`.
For the most part, it's doing the same thing as the `collectionView:didDeselectItemAtIndexPath:` calls and tests are also based on that feature.

- Implements `collectionView:didHighlightItemAtIndexPath:` and `collectionView:didUnhighlightItemAtIndexPath:` in IGListAdapter
- Catch those selectors in `IGListAdapterProxy`
- Adds `didHighlightItemAtIndex:` and `didUnhighlightItemAtIndex:` methods to IGListSectionController and friends (supports `IGListBindingSectionController` via its delegate and `IGListStackedSectionController`)
- Tests for changes

Issue fixed: I didn't open one, so none I guess.

- [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.
- [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
Closes https://github.com/Instagram/IGListKit/pull/933

Differential Revision: D5872090

Pulled By: rnystrom

fbshipit-source-id: adc93b68aced3e995f32c291bf607a263cd58edf
2017-09-20 08:46:17 -07:00
..
IGListAdapter+DebugDescription.h Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListAdapter+DebugDescription.m Add isPrefetchingEnabled to debug description 2017-05-09 16:20:47 -07:00
IGListAdapter+UICollectionView.h Move UICollectionView(DataSource|Delegate) to category 2017-04-18 11:21:18 -07:00
IGListAdapter+UICollectionView.m Add cell (un)highlight APIs 2017-09-20 08:46:17 -07:00
IGListAdapterInternal.h Remove IGListSectionType 2017-04-19 08:26:30 -07:00
IGListAdapterProxy.h unintercepted => non-intercepted, close #774 2017-05-25 08:03:36 -07:00
IGListAdapterProxy.m Add cell (un)highlight APIs 2017-09-20 08:46:17 -07:00
IGListAdapterUpdater+DebugDescription.h Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListAdapterUpdater+DebugDescription.m Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListAdapterUpdaterInternal.h Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListBatchUpdateData+DebugDescription.h Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListBatchUpdateData+DebugDescription.m Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListBatchUpdates.h Prevent duplicate item deletes and drop reload collisions 2017-04-19 17:17:41 -07:00
IGListBatchUpdates.m Prevent duplicate item deletes and drop reload collisions 2017-04-19 17:17:41 -07:00
IGListBatchUpdateState.h Track batch updates in object and explicit state 2017-03-07 09:33:03 -08:00
IGListBindingSectionController+DebugDescription.h Added debug dump support to IGListBindingSectionController 2017-08-11 09:19:00 -07:00
IGListBindingSectionController+DebugDescription.m Added debug dump support to IGListBindingSectionController 2017-08-11 09:19:00 -07:00
IGListCollectionViewLayoutInternal.h add integer pixel scaled for frame 2017-03-17 12:33:34 -07:00
IGListDebugger.h Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListDebugger.m Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListDebuggingUtilities.h Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListDebuggingUtilities.m Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListDisplayHandler.h Remove IGListSectionType 2017-04-19 08:26:30 -07:00
IGListDisplayHandler.m replace alloc] init] -> new] 2017-06-22 09:31:45 -07:00
IGListReloadIndexPath.h Prevent duplicate item deletes and drop reload collisions 2017-04-19 17:17:41 -07:00
IGListReloadIndexPath.m Prevent duplicate item deletes and drop reload collisions 2017-04-19 17:17:41 -07:00
IGListSectionControllerInternal.h Rename sectionIndex API to just section 2017-05-11 14:49:59 -07:00
IGListSectionMap+DebugDescription.h Add debug dump scripts 2017-04-21 16:46:06 -07:00
IGListSectionMap+DebugDescription.m Added debug dump support to IGListBindingSectionController 2017-08-11 09:19:00 -07:00
IGListSectionMap.h Move section index to property 2017-05-01 07:28:27 -07:00
IGListSectionMap.m Rename sectionIndex API to just section 2017-05-11 14:49:59 -07:00
IGListStackedSectionControllerInternal.h Remove IGListSectionType 2017-04-19 08:26:30 -07:00
IGListWorkingRangeHandler.h Remove IGListSectionType 2017-04-19 08:26:30 -07:00
IGListWorkingRangeHandler.mm Remove IGListSectionType 2017-04-19 08:26:30 -07:00
UICollectionView+DebugDescription.h Add debug dump scripts 2017-04-21 16:46:06 -07:00
UICollectionView+DebugDescription.m Fix UICollectionView debug dump script 2017-05-11 14:31:28 -07:00
UICollectionView+IGListBatchUpdateData.h Initial commit 2016-10-11 10:12:17 -04:00
UICollectionView+IGListBatchUpdateData.m Prevent a crash when inserting the same index twice, re-open of #616 2017-04-11 15:02:13 -07:00