From de08713b3337cd152e0b6f0f3acc671d2cb28cbf Mon Sep 17 00:00:00 2001 From: kinarob Date: Sat, 1 Jun 2019 11:52:08 -0700 Subject: [PATCH] Remove intercepted duplicate selector in `IGListAdapterProxy`. (#1291) Summary: ## Changes in this pull request ### Checklist Don't need tests. - [x] All tests pass. Demo project builds and runs. - [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md) Pull Request resolved: https://github.com/Instagram/IGListKit/pull/1291 Reviewed By: lorixx Differential Revision: D15564138 Pulled By: candance fbshipit-source-id: a0fabbd6a8f8389b09da7cd5484df75d67a709e5 --- Source/Internal/IGListAdapterProxy.m | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Source/Internal/IGListAdapterProxy.m b/Source/Internal/IGListAdapterProxy.m index ea233d12..1b46ac98 100644 --- a/Source/Internal/IGListAdapterProxy.m +++ b/Source/Internal/IGListAdapterProxy.m @@ -35,12 +35,7 @@ static BOOL isInterceptedSelector(SEL sel) { sel == @selector(collectionView:layout:minimumLineSpacingForSectionAtIndex:) || sel == @selector(collectionView:layout:referenceSizeForFooterInSection:) || sel == @selector(collectionView:layout:referenceSizeForHeaderInSection:) || - sel == @selector(collectionView:layout:referenceSizeForHeaderInSection:) || - // UIScrollViewDelegate - sel == @selector(scrollViewDidScroll:) || - sel == @selector(scrollViewWillBeginDragging:) || - sel == @selector(scrollViewDidEndDragging:willDecelerate:) || - sel == @selector(scrollViewDidEndDecelerating:) || + // IGListCollectionViewDelegateLayout sel == @selector(collectionView:layout:customizedInitialLayoutAttributes:atIndexPath:) || sel == @selector(collectionView:layout:customizedFinalLayoutAttributes:atIndexPath:)