Fix tests to avoid newly deprecated ASCollectionView init variant with asyncDataFetching argument.

This commit is contained in:
Scott Goodson
2015-12-22 23:36:29 -08:00
parent ff4f2bb270
commit 9944305cfd
6 changed files with 26 additions and 37 deletions

View File

@@ -193,10 +193,8 @@ static BOOL _isInterceptedSelector(SEL sel)
- (instancetype)initWithFrame:(CGRect)frame collectionViewLayout:(UICollectionViewLayout *)layout
{
// ASCollectionNode *collectionNode = [[ASCollectionNode alloc] initWithCollectionViewLayout:layout];
// collectionNode.frame = frame;
// return collectionNode.view;
return [self _initWithFrame:frame collectionViewLayout:layout];
ASCollectionNode *collectionNode = [[ASCollectionNode alloc] initWithFrame:frame collectionViewLayout:layout];
return collectionNode.view;
}
// FIXME: This method is deprecated and will probably be removed in or shortly after 2.0.