添加HWPanModal和FLAnimatedImage

This commit is contained in:
2025-11-05 22:04:56 +08:00
parent efdcf60ed1
commit abf32e8457
97 changed files with 10853 additions and 2067 deletions

View File

@@ -0,0 +1,39 @@
//
// HWPanModalContainerView.h
// Pods
//
// Created by heath wang on 2019/10/17.
//
#import <UIKit/UIKit.h>
#import <HWPanModal/HWPanModalPresentable.h>
@class HWPanModalContentView;
@class HWDimmedView;
@class HWPanContainerView;
NS_ASSUME_NONNULL_BEGIN
@interface HWPanModalContainerView : UIView
@property (nonatomic, readonly) HWDimmedView *backgroundView;
@property (readonly) HWPanContainerView *panContainerView;
@property (nonatomic, readonly) PresentationState currentPresentationState;
- (instancetype)initWithPresentingView:(UIView *)presentingView contentView:(HWPanModalContentView<HWPanModalPresentable> *)contentView;
- (void)show;
- (void)dismissAnimated:(BOOL)flag completion:(void (^)(void))completion;
- (void)setNeedsLayoutUpdate;
- (void)updateUserHitBehavior;
- (void)transitionToState:(PresentationState)state animated:(BOOL)animated;
- (void)setScrollableContentOffset:(CGPoint)offset animated:(BOOL)animated;
@end
NS_ASSUME_NONNULL_END