mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
[Table and collection views] Consider content inset when calculating (default) element size range (#525)
* Table and collection views to consider their content inset when calculating element size range * Update CHANGELOG * Address comments * -[ASPagerNode currentPageIndex] to use pageSize instead of bounds * Update documentation in ASPagerNode * Minor change
This commit is contained in:
@@ -75,6 +75,9 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@end
|
||||
|
||||
/**
|
||||
* A horizontal, paging collection node.
|
||||
*/
|
||||
@interface ASPagerNode : ASCollectionNode
|
||||
|
||||
/**
|
||||
@@ -84,6 +87,8 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/**
|
||||
* Initializer with custom-configured flow layout properties.
|
||||
*
|
||||
* NOTE: The flow layout must have a horizontal scroll direction.
|
||||
*/
|
||||
- (instancetype)initWithCollectionViewLayout:(ASPagerFlowLayout *)flowLayout;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user