mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user