【文件属性】:
文件名称:ZHMediator:模块间解耦的中间件,包含了本地调用及远程URL调用
文件大小:104KB
文件格式:ZIP
更新时间:2021-05-11 20:19:52
ios router mediator Objective-C
ZHMediator
Example
To run the example project, clone the repo, and run pod install from the Example directory first.
Requirements
=iOS 8.2
Installation
ZHMediator is available through . To install
it, simply add the following line to your Podfile:
pod 'ZHMediator'
Description
一. 总述
这个方案的最终目的很明确,就是要抽象出一个中间层来对纷乱的引用关系进行统一的跳转。模块只和中间层耦合,模块间解耦;中间层使用runtime的形式调用模块的业务组件,不依赖具体的模块代码.
二. 业务场景
脱离业务需求的设计都是空中楼阁
【文件预览】:
ZHMediator-master
----.travis.yml(551B)
----LICENSE(1KB)
----_Pods.xcodeproj(27B)
----Example()
--------Pods()
--------Podfile.lock(367B)
--------Tests()
--------Podfile(158B)
--------ZHMediator()
--------ZHMediator.xcodeproj()
--------ZHMediator.xcworkspace()
----README.md(6KB)
----ZHMediator()
--------Assets()
--------Classes()
----.gitignore(738B)
----ZHMediator.podspec(1002B)