[ASCollectionViewLayoutInspecting] make -scrollableDirections required (#2543)

* [ASCollectionViewLayoutInspecting] make -scrollableDirections a required method

* doh!

* fixed?

* add assert per @appleguy's comment

* use self.layoutInspector, add check at the start of didChangeBounds...
This commit is contained in:
Hannah Troisi
2016-11-08 20:48:16 -08:00
committed by Adlai Holler
parent 55b5dff80c
commit edf2b669ae
4 changed files with 21 additions and 24 deletions

View File

@@ -214,6 +214,11 @@
return ASSizeRangeMake(CGSizeZero, [layout _headerSizeForSection:indexPath.section]);
}
- (ASScrollDirection)scrollableDirections
{
return ASScrollDirectionVerticalDirections;
}
/**
* Asks the inspector for the number of supplementary views for the given kind in the specified section.
*/