mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
[ASPagerNode] Rename constrainedSizeForNodeAtIndexPath: to constrainedSizeForNodeAtIndex: for consistency (#2097)
This commit is contained in:
@@ -61,13 +61,13 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@optional
|
||||
|
||||
/**
|
||||
* Provides the constrained size range for measuring the node at the index path.
|
||||
* Provides the constrained size range for measuring the node at the index.
|
||||
*
|
||||
* @param pagerNode The sender.
|
||||
* @param indexPath The index path of the node.
|
||||
* @returns A constrained size range for layout the node at this index path.
|
||||
* @param index The index of the node.
|
||||
* @returns A constrained size range for layout the node at this index.
|
||||
*/
|
||||
- (ASSizeRange)pagerNode:(ASPagerNode *)pagerNode constrainedSizeForNodeAtIndexPath:(NSIndexPath *)indexPath;
|
||||
- (ASSizeRange)pagerNode:(ASPagerNode *)pagerNode constrainedSizeForNodeAtIndex:(NSInteger)index;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user