URL Router for iOS(object-c/swift). Async Register Mapping Relation
Inspired :
pod 'FCRouter'
#import <FCRouter/FCRouter.h>
$ git submodule add https://github.com/Heqiao1025/FCRouter
- (void)regsiterUrl:(NSString *)url mapViewControllerClass:(Class)VCClass;
- (UIViewController *)matchViewControllerWithUrl:(NSString *)url;
UIViewController *vc = [FCRouter.share matchViewControllerWithUrl:@"ForC://mine/setting/replacePassword?id=1002&author=ForC"]
UIViewController *vc = [FCRouter.share matchViewControllerWithUrl:@"ForC://mine/:userID/replacePassword"]
- (void)regsiterUrl:(NSString *)url mapHandle:(FCRouterHandle)handle
- (void)regsiterPlistPathForSource:(NSString *)source bundle:(NSBundle *)bundle;