Remove ASDisplayNode -shouldUseNewRenderingRange method and ASRangeControllerStable class

This commit is contained in:
Michael Schneider
2016-02-07 14:17:42 -08:00
parent 06bdcd0049
commit 5d474bcb1a
12 changed files with 13 additions and 427 deletions

View File

@@ -167,12 +167,9 @@ static NSString * const kCellReuseIdentifier = @"_ASCollectionViewCell";
self.strongCollectionNode = collectionNode;
}
_layoutController = [ASDisplayNode shouldUseNewRenderingRange] ?
[[ASCollectionViewLayoutControllerBeta alloc] initWithCollectionView:self] :
[[ASCollectionViewLayoutControllerStable alloc] initWithCollectionView:self];
_layoutController = [[ASCollectionViewLayoutControllerBeta alloc] initWithCollectionView:self];
_rangeController = [ASDisplayNode shouldUseNewRenderingRange] ? [[ASRangeControllerBeta alloc] init]
: [[ASRangeControllerStable alloc] init];
_rangeController = [[ASRangeControllerBeta alloc] init];
_rangeController.dataSource = self;
_rangeController.delegate = self;
_rangeController.layoutController = _layoutController;