HWPanModalPresentationDelegate.h 652 B

12345678910111213141516171819202122232425
  1. //
  2. // HWPanModalPresentationDelegate.h
  3. // HWPanModal
  4. //
  5. // Created by heath wang on 2019/4/29.
  6. //
  7. #import <Foundation/Foundation.h>
  8. #import <UIKit/UIKit.h>
  9. @class HWPanModalInteractiveAnimator;
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface HWPanModalPresentationDelegate : NSObject <UIViewControllerTransitioningDelegate, UIAdaptivePresentationControllerDelegate, UIPopoverPresentationControllerDelegate>
  12. /**
  13. * if user do Screen Pan recognizer, interactive = YES
  14. */
  15. @property (nonatomic, assign) BOOL interactive;
  16. @property (nonnull, nonatomic, strong, readonly) HWPanModalInteractiveAnimator *interactiveDismissalAnimator;
  17. @end
  18. NS_ASSUME_NONNULL_END