Skip to content

Commit d7ce6b9

Browse files
author
Adlai Holler
authored
CatDealsCollectionView: Use the correct method name (facebookarchive#3015)
1 parent 7424b6d commit d7ce6b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/CatDealsCollectionView/Sample/ViewController.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ - (void)collectionNode:(ASCollectionNode *)collectionNode willBeginBatchFetchWit
205205

206206
#pragma mark - ASCollectionDelegateFlowLayout
207207

208-
- (ASSizeRange)collectionNode:(ASCollectionNode *)collectionNode referenceConstrainedSizeForHeaderInSection:(NSInteger)section
208+
- (ASSizeRange)collectionNode:(ASCollectionNode *)collectionNode sizeRangeForHeaderInSection:(NSInteger)section
209209
{
210210
if (section == 0) {
211211
return ASSizeRangeUnconstrained;
@@ -214,7 +214,7 @@ - (ASSizeRange)collectionNode:(ASCollectionNode *)collectionNode referenceConstr
214214
}
215215
}
216216

217-
- (ASSizeRange)collectionNode:(ASCollectionNode *)collectionNode referenceConstrainedSizeForFooterInSection:(NSInteger)section
217+
- (ASSizeRange)collectionNode:(ASCollectionNode *)collectionNode sizeRangeForFooterInSection:(NSInteger)section
218218
{
219219
if (section == 0) {
220220
return ASSizeRangeUnconstrained;

0 commit comments

Comments
 (0)