Latest 0.1.0
Homepage https://github.com/moyunmo/CMRouter
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Conform the protocol CMRouterProtocol and register

CM_Register_MODULE(user/info);

Get ViewController from URL.

UIViewController *viewController = [[CMRouter sharedInstance] controllerWithURL:@"Cmall://user/info?userId=123&"]

Requirements

Installation

CMRouter is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'CMRouter'

Author

Moyun, [email protected]

License

CMRouter is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "CMRouter",
    "version": "0.1.0",
    "summary": "A short description of CMRouter.",
    "description": "URL router for iOS",
    "homepage": "https://github.com/moyunmo/CMRouter",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "[email protected]": "[email protected]"
    },
    "source": {
        "git": "https://github.com/moyunmo/CMRouter.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "CMRouter/Classes/**/*"
}

Pin It on Pinterest

Share This