Latest 1.0.1
Homepage https://github.com/LiuHuanQing/HQRouter
License MIT
Platforms ios 8.0
Dependencies MGJRouter, Aspects
Frameworks MGJRouter, Aspects
Authors

Router写了三个版本,写了最后发现跟MGJRouter大部分重合,最后在MGJRouter的基础上封装了一层

我增加了HQRouterHelper工具类读取路由表,想着以后如果有多个路由文件在这里处理处理

刚从内网gitlab转过来,没上pod,很多东西暂时没有
具体用法:


/** 返回一个控制器 !找不到返回一个默认控制器*/
+ (UIViewController *)controllerForURL:(NSString *)URL;

/* Push一个页面 /

  • (void)pushURL:(NSString *)URL animated:(BOOL)animated;
  • (void)pushURL:(NSString )URL withUserInfo:(NSDictionary )userInfo animated:(BOOL)animated;

/* Present一个页面 /

  • (void)presentURL:(NSString *)URL animated:(BOOL)animated;
  • (void)presentURL:(NSString )URL withUserInfo:(NSDictionary )userInfo animated:(BOOL)animated;

Latest podspec

{
    "name": "HQRouter",
    "version": "1.0.1",
    "summary": "u8defu7531u529fu80fd",
    "description": "u8defu7531u529fu80fd.",
    "homepage": "https://github.com/LiuHuanQing/HQRouter",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "u5218u6b22u5e86": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/LiuHuanQing/HQRouter.git",
        "tag": "1.0.1"
    },
    "source_files": [
        "Classes",
        "Classes/**/*.{h,m}"
    ],
    "exclude_files": "Classes/Exclude",
    "frameworks": [
        "MGJRouter",
        "Aspects"
    ],
    "dependencies": {
        "MGJRouter": [
            "~> 0.9.3"
        ],
        "Aspects": [
            "~> 1.4.1"
        ]
    }
}

Pin It on Pinterest

Share This