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&"]
CMRouter is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'CMRouter'
Moyun, [email protected]
CMRouter is available under the MIT license. See the LICENSE file for more info.