炼仙传说+春节皮肤

This commit is contained in:
启星
2026-01-27 19:10:51 +08:00
parent e5191e0f71
commit f57a8051d9
311 changed files with 18415 additions and 19 deletions

View File

@@ -0,0 +1,25 @@
//
// HWPopTransitioningDelegate.h
// HWPopController
//
// Created by heath wang on 2019/5/21.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "HWPopController.h"
NS_ASSUME_NONNULL_BEGIN
@interface HWPopTransitioningDelegate : NSObject <UIViewControllerTransitioningDelegate>
@property (nonatomic, weak, readonly) HWPopController *popController;
- (instancetype)initWithPopController:(HWPopController *)popController NS_DESIGNATED_INITIALIZER;
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)new NS_UNAVAILABLE;
@end
NS_ASSUME_NONNULL_END

View File

@@ -0,0 +1,32 @@
//
// HWPopTransitioningDelegate.m
// HWPopController
//
// Created by heath wang on 2019/5/21.
//
#import "HWPopTransitioningDelegate.h"
#import "HWPopControllerAnimatedTransitioning.h"
@implementation HWPopTransitioningDelegate
- (instancetype)initWithPopController:(HWPopController *)popController {
self = [super init];
if (self) {
_popController = popController;
}
return self;
}
#pragma mark - UIViewControllerTransitioningDelegate
- (nullable id <UIViewControllerAnimatedTransitioning>)animationControllerForPresentedController:(UIViewController *)presented presentingController:(UIViewController *)presenting sourceController:(UIViewController *)source {
return [[HWPopControllerAnimatedTransitioning alloc] initWithState:HWPopStatePop popController:self.popController];
}
- (nullable id <UIViewControllerAnimatedTransitioning>)animationControllerForDismissedController:(UIViewController *)dismissed {
return [[HWPopControllerAnimatedTransitioning alloc] initWithState:HWPopStateDismiss popController:self.popController];
}
@end