UIViewController+DSNavExtension.h 1.21 KB
//
//  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