mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-12 17:30:34 +00:00
[IGListKit] Adds missing UIScrollViewDelegate method to DataSource proxy (#1015)
* Adds missing UIScrollViewDelegate method to IGListKit proxy implementation * Updates CHANGELOG
This commit is contained in:
parent
55abeed743
commit
a08d2210cf
@ -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)
|
- 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`)
|
- 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)
|
- 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
|
## 2.7
|
||||||
- Fix pager node for interface coalescing. [Max Wang](https://github.com/wsdwsd0829) [#877](https://github.com/TextureGroup/Texture/pull/877)
|
- Fix pager node for interface coalescing. [Max Wang](https://github.com/wsdwsd0829) [#877](https://github.com/TextureGroup/Texture/pull/877)
|
||||||
|
|||||||
@ -115,6 +115,11 @@ typedef struct {
|
|||||||
[self.delegate scrollViewDidEndDragging:scrollView willDecelerate:decelerate];
|
[self.delegate scrollViewDidEndDragging:scrollView willDecelerate:decelerate];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView
|
||||||
|
{
|
||||||
|
[self.delegate scrollViewDidEndDecelerating:scrollView];
|
||||||
|
}
|
||||||
|
|
||||||
- (BOOL)shouldBatchFetchForCollectionNode:(ASCollectionNode *)collectionNode
|
- (BOOL)shouldBatchFetchForCollectionNode:(ASCollectionNode *)collectionNode
|
||||||
{
|
{
|
||||||
NSInteger sectionCount = [self numberOfSectionsInCollectionNode:collectionNode];
|
NSInteger sectionCount = [self numberOfSectionsInCollectionNode:collectionNode];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user