https://github.com/codeweaver13/syrouter
https://github.com/codeweaver13/syrouter
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codeweaver13/syrouter
- Owner: CodeWeaver13
- License: mit
- Created: 2017-02-27T10:21:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-27T10:24:47.000Z (over 8 years ago)
- Last Synced: 2025-02-01T10:25:31.155Z (4 months ago)
- Language: Swift
- Size: 34.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```