SPSBRouteManager.h 1006 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // SPSBRouteManager.h
  3. // 我的社保
  4. //
  5. // Created by shanp on 2021/4/26.
  6. //
  7. #import <Foundation/Foundation.h>
  8. #import "SPSBEnumerationProfile.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface SPSBRouter: NSObject
  11. @property (nonatomic, assign) SPSBTabBarType spsb_tabBarType;
  12. @property (nonatomic, assign) bool spsb_needNavi;
  13. @property (nonatomic, assign) bool spsb_needLogin;
  14. - (instancetype)initWithClassName:(NSString *)className property:(nullable NSDictionary *)property tabBarType:(SPSBTabBarType)tabBarType;
  15. @end
  16. @interface SPSBRouteManager : NSObject
  17. + (bool)pageJumpWithData:(NSString *)jump completion:(void (^_Nullable)(void))completion;
  18. + (bool)routeTo:(SPSBRouter *)router completion:(void (^ _Nullable)(void))completion;
  19. + (bool)routeToTarget:(UIViewController *)target isNeedLogin:(bool)isNeedLogin isNeedNavi:(bool)isNeedNavi completion:(void (^ _Nullable)(void))completion;
  20. + (void)navigationBackAndRouteTo:(SPSBRouter *)router;
  21. + (void)navigationBackRoot;
  22. @end
  23. NS_ASSUME_NONNULL_END