Skip to content

Commit

Permalink
Remove unused flow layout reference in ASPagerNode (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhuy committed Jul 17, 2017
1 parent eb5bde0 commit 7af8f91
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 7af8f91

Please sign in to comment.