1234567891011121314151617181920212223242526272829303132333435363738394041 |
- //
- // UINavigationController+EndEditing.h
- // 乐销
- //
- // Created by 隋林栋 on 2017/2/20.
- // Copyright © 2017年 ping. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- @interface UINavigationController (EndEditing)
- #pragma mark property
- @property (nonatomic,readonly) UIViewController * lastVC;
- @property (nonatomic,readonly) UIViewController * lastSecondVC;
- #pragma mark login method
- //跳转多个vc
- - (void)jumpToAry:(NSArray *)aryVCs;
- //跳转多个vc
- - (void)jumpToAry:(NSArray *)aryVCs animate:(BOOL)animated;
- //返回最后一个然后push vc
- - (void)popLastAndPushVC:(UIViewController *)vc;
- //返回最后一个然后pop vc
- - (void)popLastAndPopVC:(UIViewController *)vc;
- //往回调很多vc
- - (void)popMultiVC:(NSInteger)num;
- //跳转到之前的 vc类型
- - (void)popToClass:(NSString *)className;
- //根据名称跳转
- - (void)pushVCName:(NSString *)strClassName animated:(BOOL)animated;
- //跳转回root 然后跳转多个vc
- - (void)popToRootAry:(NSArray *)aryVCs animate:(BOOL)animated;
- #pragma business method
- //跳转详情
- - (void)jumpToDetailVC:(NSString *)strBsort sSort:(NSString *)strSsort identify:(NSString *)identify;
- - (void)jumpToDetailVC:(NSString *)strSsort;
- @end
|