Minor Collection Simplifications (#2906)

* Minor collection simplifications

* Remove didChangeCollectionViewDataSource call, restrict subclassing ASCollectionViewFlowLayoutInspector
This commit is contained in:
Adlai Holler
2017-01-19 13:57:03 -08:00
committed by GitHub
parent d41ef55cd7
commit e69a475d2b
4 changed files with 14 additions and 26 deletions

View File

@@ -17,6 +17,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
* A layout inspector implementation specific for the sizing behavior of UICollectionViewFlowLayouts
*/
AS_SUBCLASSING_RESTRICTED
@interface ASCollectionViewFlowLayoutInspector : NSObject <ASCollectionViewLayoutInspecting>
@property (nonatomic, weak, readonly) UICollectionViewFlowLayout *layout;