Fix ASPagerNode delegate and data source warning (#2076)

This commit is contained in:
Michael Schneider 2016-08-15 20:58:50 -07:00 committed by appleguy
parent 067e4998e2
commit 365f739ce7

View File

@ -63,8 +63,8 @@
[super didLoad];
ASCollectionView *cv = self.view;
cv.asyncDataSource = _proxyDataSource ?: self;
cv.asyncDelegate = _proxyDelegate ?: self;
cv.asyncDataSource = (id<ASCollectionViewDataSource>)_proxyDataSource ?: self;
cv.asyncDelegate = (id<ASCollectionViewDelegate>)_proxyDelegate ?: self;
#if TARGET_OS_IOS
cv.pagingEnabled = YES;
cv.scrollsToTop = NO;