UIViewControllerRouter
public class UIViewControllerRouter
一个路由器可以通过解析链接获得一个指定的UIViewController实例
-
如果路由未注册,自动进行注册
Declaration
Swift
public func autoRegisterIfNeed() -
注册拦截器
Declaration
Swift
public func register(interceptors: [RouteInterceptor])Parameters
interceptors拦截器数组
-
注册错误处理器
Declaration
Swift
public func registerErrorHandler(_ handler: RouteErrorHandling)Parameters
handler一个错误处理器
UIViewControllerRouter Class Reference