mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Move Last Few Properties from ASTableView,ASCollectionView to Node (#225)
* Finish moving properties ASTableView->ASTableNode, ASCollectionView->ASCollectionNode * Update changeling
This commit is contained in:
@@ -92,6 +92,8 @@ static NSString * const kReuseIdentifier = @"_ASCollectionReuseIdentifier";
|
||||
NSMutableSet *_cellsForVisibilityUpdates;
|
||||
NSMutableSet *_cellsForLayoutUpdates;
|
||||
id<ASCollectionViewLayoutFacilitatorProtocol> _layoutFacilitator;
|
||||
CGFloat _leadingScreensForBatching;
|
||||
BOOL _inverted;
|
||||
|
||||
NSUInteger _superBatchUpdateCount;
|
||||
BOOL _isDeallocating;
|
||||
@@ -1388,6 +1390,26 @@ static NSString * const kReuseIdentifier = @"_ASCollectionReuseIdentifier";
|
||||
|
||||
#pragma mark - Scroll Direction.
|
||||
|
||||
- (BOOL)inverted
|
||||
{
|
||||
return _inverted;
|
||||
}
|
||||
|
||||
- (void)setInverted:(BOOL)inverted
|
||||
{
|
||||
_inverted = inverted;
|
||||
}
|
||||
|
||||
- (void)setLeadingScreensForBatching:(CGFloat)leadingScreensForBatching
|
||||
{
|
||||
_leadingScreensForBatching = leadingScreensForBatching;
|
||||
}
|
||||
|
||||
- (CGFloat)leadingScreensForBatching
|
||||
{
|
||||
return _leadingScreensForBatching;
|
||||
}
|
||||
|
||||
- (ASScrollDirection)scrollDirection
|
||||
{
|
||||
CGPoint scrollVelocity;
|
||||
|
||||
Reference in New Issue
Block a user