Update data source protocols to make synchronous node creation api methods optional.

This commit is contained in:
Rahul Malik
2016-02-09 22:47:43 -08:00
parent cae47e23e1
commit 3e5daf4ccd
9 changed files with 58 additions and 52 deletions

View File

@@ -17,8 +17,6 @@
@protocol ASCollectionDataControllerSource <ASDataControllerSource>
- (ASCellNode *)dataController:(ASCollectionDataController *)dataController supplementaryNodeOfKind:(NSString *)kind atIndexPath:(NSIndexPath *)indexPath;
/**
The constrained size range for layout.
*/
@@ -32,6 +30,8 @@
@optional
- (ASCellNode *)dataController:(ASCollectionDataController *)dataController supplementaryNodeOfKind:(NSString *)kind atIndexPath:(NSIndexPath *)indexPath;
- (ASCellNodeBlock)dataController:(ASCollectionDataController *)dataController supplementaryNodeBlockOfKind:(NSString *)kind atIndexPath:(NSIndexPath *)indexPath;
@end