添加HWPanModal和FLAnimatedImage
This commit is contained in:
38
Pods/HWPanModal/Sources/Presentable/UIViewController+LayoutHelper.h
generated
Normal file
38
Pods/HWPanModal/Sources/Presentable/UIViewController+LayoutHelper.h
generated
Normal file
@@ -0,0 +1,38 @@
|
||||
//
|
||||
// UIViewController+LayoutHelper.h
|
||||
// HWPanModal
|
||||
//
|
||||
// Created by heath wang on 2019/4/26.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
@class HWPanModalPresentationController;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol HWPanModalPresentableLayoutProtocol <NSObject>
|
||||
|
||||
@property (nonatomic, assign, readonly) CGFloat topLayoutOffset;
|
||||
|
||||
@property (nonatomic, assign, readonly) CGFloat bottomLayoutOffset;
|
||||
|
||||
@property (nonatomic, assign, readonly) CGFloat shortFormYPos;
|
||||
|
||||
@property (nonatomic, assign, readonly) CGFloat mediumFormYPos;
|
||||
|
||||
@property (nonatomic, assign, readonly) CGFloat longFormYPos;
|
||||
|
||||
@property (nonatomic, assign, readonly) CGFloat bottomYPos;
|
||||
|
||||
@end
|
||||
|
||||
/**
|
||||
* Help presentedViewController/presented View to layout.
|
||||
*/
|
||||
@interface UIViewController (LayoutHelper) <HWPanModalPresentableLayoutProtocol>
|
||||
|
||||
@property (nullable, nonatomic, strong, readonly) HWPanModalPresentationController *hw_presentedVC;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user