Remove stubbed collection view layout setter behavior

This commit is contained in:
Levi McCallum
2015-10-21 23:16:31 -07:00
parent e8ce7fcbb2
commit e9708633bc

View File

@@ -337,15 +337,6 @@ static BOOL _isInterceptedSelector(SEL sel)
[_layoutInspector didChangeCollectionViewDelegate:asyncDelegate];
}
- (void)setCollectionViewLayout:(UICollectionViewLayout *)collectionViewLayout
{
[super setCollectionViewLayout:collectionViewLayout];
if ([collectionViewLayout asdk_isFlowLayout]) {
_flowLayoutInspector = nil;
_layoutInspector = [self flowLayoutInspector];
}
}
- (void)setTuningParameters:(ASRangeTuningParameters)tuningParameters forRangeType:(ASLayoutRangeType)rangeType
{
[_layoutController setTuningParameters:tuningParameters forRangeType:rangeType];