添加HWPanModal和FLAnimatedImage
This commit is contained in:
36
Pods/HWPanModal/Sources/View/PanModal/HWPanModalContentView.h
generated
Normal file
36
Pods/HWPanModal/Sources/View/PanModal/HWPanModalContentView.h
generated
Normal file
@@ -0,0 +1,36 @@
|
||||
//
|
||||
// HWPanModalContentView.h
|
||||
// Pods
|
||||
//
|
||||
// Created by heath wang on 2019/10/17.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <HWPanModal/HWPanModalPresentable.h>
|
||||
#import <HWPanModal/HWPanModalPresentationUpdateProtocol.h>
|
||||
#import <HWPanModal/UIViewController+LayoutHelper.h>
|
||||
#import <HWPanModal/HWPanModalPanGestureDelegate.h>
|
||||
|
||||
@class HWPanModalContainerView;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/// when use `HWPanModalContentView`, you should take care of the safe area by yourself.
|
||||
@interface HWPanModalContentView : UIView <HWPanModalPresentable, HWPanModalPanGestureDelegate, HWPanModalPresentationUpdateProtocol, HWPanModalPresentableLayoutProtocol>
|
||||
|
||||
/**
|
||||
* present in the target view
|
||||
* @param view The view which present to. If the view is nil, will use UIWindow's keyWindow.
|
||||
*/
|
||||
- (void)presentInView:(nullable UIView *)view;
|
||||
|
||||
/**
|
||||
* call this method to dismiss contentView directly.
|
||||
* @param flag should animate flag
|
||||
* @param completion dismiss completion block
|
||||
*/
|
||||
- (void)dismissAnimated:(BOOL)flag completion:(void (^)(void))completion;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user