PPDelegate 0.1.2

PPDelegate 0.1.2

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Oct 2017

Maintained by JungHsu.



  • By
  • JungHsu



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

使用方式如下:

[[PPDelegate delegate] addDelegates:@[p,s,self] forTarget:self.tableView];

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

Author

[email protected]

License

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