Skip to content

Commit

Permalink
Use _ASCollectionReusableView inside ASIGListSupplementaryViewSourceM…
Browse files Browse the repository at this point in the history
…ethods (#40)
  • Loading branch information
plarson authored and garrettmoon committed Apr 19, 2017
1 parent ed5a139 commit dca67c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/AsyncDisplayKit+IGListKitMethods.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
#import "AsyncDisplayKit+IGListKitMethods.h"
#import <AsyncDisplayKit/ASAssert.h>
#import <AsyncDisplayKit/_ASCollectionViewCell.h>
#import <AsyncDisplayKit/_ASCollectionReusableView.h>


@implementation ASIGListSectionControllerMethods

Expand All @@ -35,7 +37,7 @@ + (__kindof UICollectionReusableView *)viewForSupplementaryElementOfKind:(NSStri
atIndex:(NSInteger)index
sectionController:(IGListSectionController<IGListSectionType> *)sectionController
{
return [sectionController.collectionContext dequeueReusableSupplementaryViewOfKind:elementKind forSectionController:sectionController class:[UICollectionReusableView class] atIndex:index];
return [sectionController.collectionContext dequeueReusableSupplementaryViewOfKind:elementKind forSectionController:sectionController class:[_ASCollectionReusableView class] atIndex:index];
}

+ (CGSize)sizeForSupplementaryViewOfKind:(NSString *)elementKind atIndex:(NSInteger)index
Expand Down

0 comments on commit dca67c3

Please sign in to comment.