ASPagerNode's api was not updated while addressing comments on the initial

ASCellNode background allocation PR. This change fixes that issue.
This commit is contained in:
Rahul Malik
2016-02-05 15:09:08 -08:00
parent 8abda67d1a
commit 6c240a2fce
3 changed files with 3 additions and 3 deletions

View File

@@ -36,7 +36,7 @@
}
- (ASCellNodeBlock)collectionView:(ASCollectionView *)collectionView nodeBlockAtIndexPath:(NSIndexPath *)indexPath {
- (ASCellNodeBlock)collectionView:(ASCollectionView *)collectionView nodeBlockForItemAtIndexPath:(NSIndexPath *)indexPath {
return ^{
ASTextCellNode *textCellNode = [ASTextCellNode new];
textCellNode.text = indexPath.description;