Merge pull request #1910 from feduza/overview-example-fix

[Examples] AsyncDisplayKitOverview collection nodes size fix
This commit is contained in:
Adlai Holler
2016-07-13 09:31:08 -07:00
committed by GitHub

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