Merge pull request #1791 from colinmcardell/ASCollectionDataController_supplementaryNodeOfKind-fix

[ASCollectionDataController] Exposing -supplementaryNodeOfKind
This commit is contained in:
Adlai Holler
2016-07-08 12:50:32 -07:00
committed by GitHub
3 changed files with 20 additions and 4 deletions

View File

@@ -257,8 +257,7 @@
return nodesOfKindInSection[itemIndex];
}
}
ASDisplayNodeAssert(NO, @"Supplementary node should exist. Kind = %@, indexPath = %@, collectionDataSource = %@", kind, indexPath, self.collectionDataSource);
return [[ASCellNode alloc] init];
return nil;
}
#pragma mark - Private Helpers