Skip to content

Commit

Permalink
[IGListKit] Adds missing UIScrollViewDelegate method to DataSource pr…
Browse files Browse the repository at this point in the history
…oxy (TextureGroup#1015)

* Adds missing UIScrollViewDelegate method to IGListKit proxy implementation

* Updates CHANGELOG
  • Loading branch information
wannabehero authored and mikezucc committed Oct 2, 2018
1 parent 1198275 commit 73e8ffd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- Create a method to transfer strong C-arrays into immutable NSArrays, reducing retain/release traffic. [Adlai Holler](https://github.com/Adlai-Holler)
- Remove yoga layout spec, which has been superseded by tighter Yoga integration (`ASDisplayNode+Yoga.h`)
- Properly consider node for responder methods [Michael Schneider](https://github.com/maicki)
- [IGListKit] Adds missing UIScrollViewDelegate method to DataSource proxy [Sergey Pronin](https://github.com/wannabehero)

## 2.7
- Fix pager node for interface coalescing. [Max Wang](https://github.com/wsdwsd0829) [#877](https://github.com/TextureGroup/Texture/pull/877)
Expand Down
5 changes: 5 additions & 0 deletions Source/Private/ASIGListAdapterBasedDataSource.m
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ - (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL
[self.delegate scrollViewDidEndDragging:scrollView willDecelerate:decelerate];
}

- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView
{
[self.delegate scrollViewDidEndDecelerating:scrollView];
}

- (BOOL)shouldBatchFetchForCollectionNode:(ASCollectionNode *)collectionNode
{
NSInteger sectionCount = [self numberOfSectionsInCollectionNode:collectionNode];
Expand Down

0 comments on commit 73e8ffd

Please sign in to comment.