Initial commit
This commit is contained in:
+39
@@ -0,0 +1,39 @@
|
||||
//
|
||||
// NTESNavigationAnimator.h
|
||||
// NIM
|
||||
//
|
||||
// Created by chris on 16/1/31.
|
||||
// Copyright © 2016年 Netease. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
typedef NS_ENUM(NSInteger, NTESNavigationAnimationType) {
|
||||
NTESNavigationAnimationTypeNormal,
|
||||
NTESNavigationAnimationTypeCross,
|
||||
};
|
||||
|
||||
@class NTESNavigationAnimator;
|
||||
|
||||
@protocol NTESNavigationAnimatorDelegate <NSObject>
|
||||
|
||||
- (void)animationWillStart:(NTESNavigationAnimator *)animator;
|
||||
|
||||
- (void)animationDidEnd:(NTESNavigationAnimator *)animator;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@interface NTESNavigationAnimator : NSObject <UIViewControllerAnimatedTransitioning>
|
||||
|
||||
@property (nonatomic,weak) UINavigationController *navigationController;
|
||||
|
||||
@property (nonatomic,assign) UINavigationControllerOperation currentOpearation;
|
||||
|
||||
@property (nonatomic,assign) NTESNavigationAnimationType animationType;
|
||||
|
||||
@property (nonatomic,weak) id<NTESNavigationAnimatorDelegate> delegate;
|
||||
|
||||
- (instancetype)initWithNavigationController:(UINavigationController *)navigationController;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user