Latest 1.0.6
Homepage https://github.com/wangmengling/ComRouter
License MIT
Platforms ios 9.0
Authors

platform: Ios Swift3

ComRouter is a componentized intermediate router, ComRouter is a component of the middle of the router, call the external interface between the various components

usage

function params() Maximum support for 5 parameters

Direct call

ComRouter.shareInstance.call("ComRouteCompenontTest", "ComRouteInterface", "comRouteForParams").params("one", "two", paramNames: ["test","string"]) { (result,error) in
        print(error as Any)
}

Chain call

ComRouter.shareInstance.moduleName("ComRouteCompenontTest").className("ComRouteInterface").funcName("comRouteForParams").params("one", "two") { (result,error) in
        print(error as Any)
}

Latest podspec

{
    "name": "ComRouter",
    "version": "1.0.6",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "summary": "Elegant HTTP Networking in Swift",
    "homepage": "https://github.com/wangmengling/ComRouter",
    "social_media_url": "https://github.com/wangmengling/ComRouter",
    "authors": {
        "wangmengling": "[email protected]"
    },
    "source": {
        "git": "https://github.com/wangmengling/ComRouter.git",
        "tag": "1.0.6"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "Source/*.swift"
}

Pin It on Pinterest

Share This