Latest 0.1.0
Homepage https://github.com/liangjinbai/TDFBridgeKit
License MIT
Platforms ios 8.0
Authors

TDFBridgeKit是一个组件间逆向通信的通用解决方案

Nature

TDFBridgeKit本质是提供一个容器
由业务提供方将 开放的API 抽象成protocol,向TDFBridgeKit注册;
TDFBridgeKit 内部会以弱引用的方式持有该注册对象;
业务调用方 依据protocol取到该注册对象;
双方 依据protocol完成该通信过程。

Use

向TDFBridgeKit注册

+ (void)registerObject:(id)object forProcotol:(Protocol *)procotol;

获取遵循对应协议的注册对象

+ (id)objectForProcotol:(Protocol *)procotol;

Installation

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

pod 'TDFBridgeKit'

Author

liangjin bai, [email protected]

License

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

Latest podspec

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

Pin It on Pinterest

Share This