Stub out ASCollectionDataController subclass

This commit is contained in:
Levi McCallum
2015-09-22 23:41:43 -07:00
committed by Levi McCallum
parent e492770aed
commit e9eadac4ae
9 changed files with 142 additions and 21 deletions

View File

@@ -530,7 +530,7 @@ void ASPerformBlockWithoutAnimation(BOOL withoutAnimation, void (^block)()) {
}
ASCellNode *node = [_dataController nodeAtIndexPath:indexPath];
[_rangeController configureContentView:cell.contentView forCellNode:node];
[_rangeController configureContentView:cell.contentView forNode:node];
cell.node = node;
cell.backgroundColor = node.backgroundColor;
@@ -859,7 +859,7 @@ void ASPerformBlockWithoutAnimation(BOOL withoutAnimation, void (^block)()) {
return [_asyncDataSource tableView:self numberOfRowsInSection:section];
}
- (NSUInteger)dataControllerNumberOfSections:(ASDataController *)dataController
- (NSUInteger)numberOfSectionsInDataController:(ASDataController *)dataController
{
if ([_asyncDataSource respondsToSelector:@selector(numberOfSectionsInTableView:)]) {
return [_asyncDataSource numberOfSectionsInTableView:self];