mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Finish Porting indexPath-Oriented Methods to ASTableNode/ASCollectionNode (#2527)
* Finish porting over the indexPath-oriented properties from table/collection view to node * Make indexPathForSelectedRow a property
This commit is contained in:
@@ -86,6 +86,12 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*/
|
||||
- (void)setTuningParameters:(ASRangeTuningParameters)tuningParameters forRangeMode:(ASLayoutRangeMode)rangeMode rangeType:(ASLayoutRangeType)rangeType;
|
||||
|
||||
- (nullable __kindof UICollectionViewCell *)cellForItemAtIndexPath:(NSIndexPath *)indexPath;
|
||||
|
||||
@property (nonatomic, readonly) NSArray<NSIndexPath *> *indexPathsForVisibleItems;
|
||||
|
||||
@property (nonatomic, readonly, nullable) NSArray<NSIndexPath *> *indexPathsForSelectedItems;
|
||||
|
||||
/**
|
||||
* Scrolls the collection to the given item.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user