Revert "[ASCollectionView] Add a "Null Object" for a layout inspector if custom layout is given but no layout inspector" (#1713)

This commit is contained in:
appleguy
2016-06-04 22:49:10 -07:00
parent 5289b1e11e
commit 4804f429b9
4 changed files with 40 additions and 73 deletions

View File

@@ -47,17 +47,6 @@
@end
/**
* Simple "Null Object" inspector for non-flow layouts that does not implement a custom inspector, provides a zero
* constrained size and throws an exception if methods are called from <ASCollectionViewLayoutInspecting>
*/
@interface ASCollectionViewCustomLayoutInspector : NSObject <ASCollectionViewLayoutInspecting>
@end
/**
* A layout inspector implementation specific for the sizing behavior of UICollectionViewFlowLayouts
*/
@interface ASCollectionViewFlowLayoutInspector : NSObject <ASCollectionViewLayoutInspecting>
@property (nonatomic, weak) UICollectionViewFlowLayout *layout;