Move methods regarding supplementary nodes to optional in ASCollectionViewLayoutInspecting

This commit is contained in:
Michael Schneider
2016-06-27 11:52:48 -07:00
parent 30bb2ee93d
commit d82a2e810f

View File

@@ -26,6 +26,8 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (ASSizeRange)collectionView:(ASCollectionView *)collectionView constrainedSizeForNodeAtIndexPath:(NSIndexPath *)indexPath;
@optional
/**
* Asks the inspector to provide a constrained size range for the given supplementary node.
*/
@@ -41,8 +43,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (NSUInteger)collectionView:(ASCollectionView *)collectionView supplementaryNodesOfKind:(NSString *)kind inSection:(NSUInteger)section;
@optional
/**
* Allow the inspector to respond to delegate changes.
*