Skip to content

Commit

Permalink
Remove unused flow layout reference in ASPagerNode (TextureGroup#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhuy authored and bernieperez committed Apr 25, 2018
1 parent 2f22fd6 commit c7584af
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Source/ASPagerNode.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@

@interface ASPagerNode () <ASCollectionDataSource, ASCollectionDelegate, ASCollectionDelegateFlowLayout, ASDelegateProxyInterceptor>
{
ASPagerFlowLayout *_flowLayout;

__weak id <ASPagerDataSource> _pagerDataSource;
ASPagerNodeProxy *_proxyDataSource;
struct {
Expand Down Expand Up @@ -65,9 +63,6 @@ - (instancetype)initWithCollectionViewLayout:(ASPagerFlowLayout *)flowLayout;
{
ASDisplayNodeAssert([flowLayout isKindOfClass:[ASPagerFlowLayout class]], @"ASPagerNode requires a flow layout.");
self = [super initWithCollectionViewLayout:flowLayout];
if (self != nil) {
_flowLayout = flowLayout;
}
return self;
}

Expand Down

0 comments on commit c7584af

Please sign in to comment.