UIViewController+DSNavExtension.h
1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
// UIViewController+DSNavExtension.h
// DSCnliveShopSDK
//
// Created by zhaolin on 2019/12/23.
// Copyright © 2019 BIKE. All rights reserved.
//
#import <UIKit/UIKit.h>
//#import "DSViewControllerNaviDelegate.h"
#import "DSTransitionEnum.h"
NS_ASSUME_NONNULL_BEGIN
@interface UIViewController (DSNavExtension)
#pragma mark - 属性
/// push转场动画的方向
@property (nonatomic,assign) DSTransitionAnimaterDirection animaterDirection;
//#pragma mark - 属性
//
///// 是否用自定义的转场动画
//@property (nonatomic,assign) BOOL isUseCsTransition;
///// 导航自定义转场动画实现代理类
//@property (nonatomic,strong,nullable) DSViewControllerNaviDelegate * naviDelegate;
//
//#pragma mark - 方法
//
///// 自定义跳转方法
///// @param viewController viewController
///// @param animated animated
///// @param animaterDirection 动画方向
//-(void)csPushViewController:(UIViewController *)viewController animated:(BOOL)animated animaterDirection:(DSTransitionAnimaterDirection)animaterDirection;
//
///// 自定义返回方法
///// @param animated animated 动画方向为自定义跳转方法时定义的方向
//-(void)csPopViewControllerAnimated:(BOOL)animated;
@end
NS_ASSUME_NONNULL_END