HWPanContainerView.h 537 B

1234567891011121314151617181920212223242526
  1. //
  2. // HWPanContainerView.h
  3. // HWPanModal
  4. //
  5. // Created by heath wang on 2019/4/26.
  6. //
  7. #import <UIKit/UIKit.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. @interface HWPanContainerView : UIView
  10. /// the presented view should add to the content view.
  11. @property (nonatomic, strong, readonly) UIView *contentView;
  12. - (instancetype)initWithPresentedView:(UIView *)presentedView frame:(CGRect)frame;
  13. @end
  14. @interface UIView (PanContainer)
  15. @property (nullable, nonatomic, strong, readonly) HWPanContainerView *panContainerView;
  16. @end
  17. NS_ASSUME_NONNULL_END