Latest 0.1.1
Homepage https://github.com/JungHsu/PPDelegate
License MIT
Platforms ios 6.0, requires ARC
Authors

Version
Pod License

  • 支持传入一个数组实现多个代理的功能

使用方式如下:

[[PPDelegate delegate] addDelegates:@[p,s,self] forTarget:self.tableView];
很多人都问我这个工具有什么用?我想说的有两点:
  1. 为了解决一些多对象对于一个代理方法的监听
  2. 分离出代码逻辑,让各个对象内部实现自己对自己的处理,而不是公开接口让真正的代理对象来处理

支持CocoaPods

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

pod "Delegate"

Author

[email protected]

License

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

Latest podspec

{
    "name": "PPDelegate",
    "version": "0.1.1",
    "summary": "a tool of set more delegate",
    "platforms": {
        "ios": "6.0"
    },
    "description": "u8bbeu7f6eu591au4e2au76d1u542cu8005,u5b8cu6210u4e8bu4ef6u7684u76d1u542c",
    "homepage": "https://github.com/JungHsu/PPDelegate",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "JungHsu": "[email protected]"
    },
    "source": {
        "git": "https://github.com/JungHsu/PPDelegate.git",
        "tag": "0.1.1"
    },
    "source_files": "PPDelegate/**/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This