From d7ce6b9a04c224c98e2417be848a769421c5d84f Mon Sep 17 00:00:00 2001 From: Adlai Holler Date: Fri, 10 Feb 2017 13:35:29 -0800 Subject: [PATCH] CatDealsCollectionView: Use the correct method name (#3015) --- examples/CatDealsCollectionView/Sample/ViewController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/CatDealsCollectionView/Sample/ViewController.m b/examples/CatDealsCollectionView/Sample/ViewController.m index 986b49e1d8..c411008954 100644 --- a/examples/CatDealsCollectionView/Sample/ViewController.m +++ b/examples/CatDealsCollectionView/Sample/ViewController.m @@ -205,7 +205,7 @@ static const CGFloat kVerticalSectionPadding = 20.0f; #pragma mark - ASCollectionDelegateFlowLayout -- (ASSizeRange)collectionNode:(ASCollectionNode *)collectionNode referenceConstrainedSizeForHeaderInSection:(NSInteger)section +- (ASSizeRange)collectionNode:(ASCollectionNode *)collectionNode sizeRangeForHeaderInSection:(NSInteger)section { if (section == 0) { return ASSizeRangeUnconstrained; @@ -214,7 +214,7 @@ static const CGFloat kVerticalSectionPadding = 20.0f; } } -- (ASSizeRange)collectionNode:(ASCollectionNode *)collectionNode referenceConstrainedSizeForFooterInSection:(NSInteger)section +- (ASSizeRange)collectionNode:(ASCollectionNode *)collectionNode sizeRangeForFooterInSection:(NSInteger)section { if (section == 0) { return ASSizeRangeUnconstrained;