swift-多delegate的使用

时间:2022-09-04 10:32:22
【文件属性】:
文件名称:swift-多delegate的使用
文件大小:20KB
文件格式:ZIP
更新时间:2022-09-04 10:32:22
Swift开发-其它杂项 一般在我们使用delegate都知道,是一对一的关系。在目前的项目中,有这样一个需求,在服务端收到了一个下发事件,需要在不同的页面,不同的VC都收到此事件,并进行相应的处理
【文件预览】:
PPSMutableDelegate-master
----PPSMutableDelegate.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(15KB)
----LICENSE(1KB)
----.gitignore(1KB)
----README.md(4KB)
----PPSMutableDelegate()
--------PPSMutableDelegate.h(504B)
--------Assets.xcassets()
--------main.m(343B)
--------PPSManager.h(388B)
--------ViewController2.h(224B)
--------AppDelegate.h(286B)
--------AppDelegate.m(2KB)
--------PPSManager.m(603B)
--------Base.lproj()
--------ViewController3.m(979B)
--------ViewController3.h(224B)
--------PPSMutableDelegate.m(4KB)
--------ViewController.h(224B)
--------Info.plist(1KB)
--------ViewController.m(1KB)
--------ViewController2.m(1021B)
--------PPSTestProtocol.h(314B)

网友评论

  • 不值得下载,没有优化好