RouteRequest
public final class RouteRequest路由请求包装,由此可以进行简便的页面跳转操作.
- 
                  
                  异步获取路由结果页面 DeclarationSwift public func asyncGetViewController(_ completionHandler: @escaping RouteCompletionHandler<UIViewController>)ParameterscompletionHandler异步回调 
- 
                  
                  进行页面跳转 DeclarationSwift public func push(by root: UIViewController? = nil, animated: Bool = true, completionHandler: RouteCompletionHandler<UIViewController>? = nil)Parametersroot使用这个 UIViewController的UINavigationController进行页面跳转animated是否开启动画 completionHandler异步回调结果 
- 
                  
                  弹出页面 DeclarationSwift public func present(by root: UIViewController? = nil, animated: Bool = true, completionHandler: RouteCompletionHandler<UIViewController>? = nil)Parametersroot使用这个 UIViewController进行弹出animated是否开启动画 completionHandler异步回调结果 
- 
                  
                  将页面包裹在 UINavigationController中后弹出DeclarationSwift public func presentWithNavigationController<N>(_ type: N.Type, by root: UIViewController? = nil, animated: Bool = true, completionHandler: RouteCompletionHandler<UIViewController>? = nil) where N : UINavigationControllerParameterstypeUINavigationController的类型root使用这个 UIViewController进行弹出animated是否开启动画 completionHandler完成后异步回调 
 RouteRequest Class Reference
      RouteRequest Class Reference