Files
featherVoice/QXLive/Third/HWPopController/Classes/Animator/HWPopControllerAnimatedTransitioning.h
2026-01-27 19:10:51 +08:00

36 lines
966 B
Objective-C
Executable File

//
// HWPopControllerAnimationContext.h
// HWPopController
//
// Created by heath wang on 2019/5/21.
//
#import <Foundation/Foundation.h>
#import "HWPopController.h"
NS_ASSUME_NONNULL_BEGIN
@interface HWPopAnimationContext : NSObject
@property (nonatomic, assign, readonly) HWPopState state;
@property (nonatomic, strong, readonly) UIView *containerView;
@property (nonatomic, assign) NSTimeInterval duration;
- (instancetype)initWithState:(HWPopState)state containerView:(UIView *)containerView;
@end
@interface HWPopControllerAnimatedTransitioning : NSObject <UIViewControllerAnimatedTransitioning>
@property (nonatomic, assign, readonly) HWPopState state;
@property (nonatomic, weak, readonly) HWPopController *popController;
- (instancetype)initWithState:(HWPopState)state popController:(HWPopController *)popController NS_DESIGNATED_INITIALIZER;
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)new NS_UNAVAILABLE;
@end
NS_ASSUME_NONNULL_END