mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Letting ASCellNode and its subclasses handle didScroll
This commit is contained in:
@@ -25,15 +25,6 @@ typedef NSUInteger ASCellNodeAnimation;
|
||||
*/
|
||||
- (void)nodeDidRelayout:(ASCellNode *)node sizeChanged:(BOOL)sizeChanged;
|
||||
|
||||
@optional
|
||||
/**
|
||||
* Notifies the delegate that the specified cell node has scrolled
|
||||
*
|
||||
* @param node: A node informing the delegate about the scroll
|
||||
* @param cellFrame: The frame of the cell that has just scrolled
|
||||
*/
|
||||
- (void)visibleNodeDidScroll:(ASCellNode *)node inScrollView:(UIScrollView *)scrollView withCellFrame:(CGRect)cellFrame;
|
||||
|
||||
@end
|
||||
|
||||
/**
|
||||
@@ -120,7 +111,6 @@ typedef NSUInteger ASCellNodeAnimation;
|
||||
- (instancetype)initWithViewControllerBlock:(ASDisplayNodeViewControllerBlock)viewControllerBlock didLoadBlock:(ASDisplayNodeDidLoadBlock)didLoadBlock;
|
||||
|
||||
- (void)_visibleNodeDidScroll:(UIScrollView *)scrollView withCellFrame:(CGRect)cellFrame;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user