An open API service indexing awesome lists of open source software.

https://github.com/codeweaver13/syrouter


https://github.com/codeweaver13/syrouter

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# SYRouter
====
#### 基于URI的视图控制器路由

====

使用方法

```
SYRouter.shared.map("/B/:test", toControllerClass: BViewController.self)

let vc = SYRouter.shared.matchController("/B/:test/?test=1")
self.presentViewController(vc, animated:true, completion: nil)

```

接受参数

```
self.sy_routeParams
```