AsyncDisplayKitOverview collection nodes size fix

This commit is contained in:
Fedor Vetoshko
2016-07-13 15:58:15 +03:00
parent e40597ec47
commit 12697f158f

View File

@@ -66,9 +66,9 @@
}; };
} }
- (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath - (ASSizeRange)collectionView:(ASCollectionView *)collectionView constrainedSizeForNodeAtIndexPath:(NSIndexPath *)indexPath
{ {
return CGSizeMake(100, 100); return ASSizeRangeMakeExactSize(CGSizeMake(100, 100));
} }
@end @end