Move Last Few Properties from ASTableView,ASCollectionView to Node (#225)

* Finish moving properties ASTableView->ASTableNode, ASCollectionView->ASCollectionNode

* Update changeling
This commit is contained in:
Adlai Holler
2017-05-04 05:41:58 -07:00
committed by Huy Nguyen
parent 25da46c8ac
commit 588f30c7dd
12 changed files with 266 additions and 69 deletions

View File

@@ -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;