12345678910111213141516171819202122232425262728293031323334 |
- //
- // SPSBRouteManager.h
- // 我的社保
- //
- // Created by shanp on 2021/4/26.
- //
- #import <Foundation/Foundation.h>
- #import "SPSBEnumerationProfile.h"
- NS_ASSUME_NONNULL_BEGIN
- @interface SPSBRouter: NSObject
- @property (nonatomic, assign) SPSBTabBarType spsb_tabBarType;
- @property (nonatomic, assign) bool spsb_needNavi;
- @property (nonatomic, assign) bool spsb_needLogin;
- - (instancetype)initWithClassName:(NSString *)className property:(nullable NSDictionary *)property tabBarType:(SPSBTabBarType)tabBarType;
- @end
- @interface SPSBRouteManager : NSObject
- + (bool)pageJumpWithData:(NSString *)jump completion:(void (^_Nullable)(void))completion;
- + (bool)routeTo:(SPSBRouter *)router completion:(void (^ _Nullable)(void))completion;
- + (bool)routeToTarget:(UIViewController *)target isNeedLogin:(bool)isNeedLogin isNeedNavi:(bool)isNeedNavi completion:(void (^ _Nullable)(void))completion;
- + (void)navigationBackAndRouteTo:(SPSBRouter *)router;
- + (void)navigationBackRoot;
- @end
- NS_ASSUME_NONNULL_END
|