Comments (3)
就基于AppDetegate解耦 感觉没必要设计的这么复杂
让QTAppModule直接遵守下UIApplicationDelegate, QTAppDelegate里拿到所有遵守QTAppModule的对象直接调用就好了 , 有返回值的方法也可以一个个直接返回
from qteventbus.
遍历service 碰到返回NO的继续遍历 碰到yes停止遍历直接返回
from qteventbus.
感谢源码看的这么细。实际生产环境中,绝大多数都是返回YES的,框架在设计之处就没有考虑返回NO。哈哈😄
from qteventbus.
Related Issues (14)
- 很棒! HOT 1
- 和 RAC 相比,有什么优缺点呢? HOT 1
- AppDelegate事件总线注册在+load和在_add_image之后,两者时间有差别吗 HOT 5
- 问个问题 HOT 1
- 移除子节点时候, 是否需要移除字典中的子节点? HOT 1
- 是否可以考虑为 Swift 添加更友好的 API?
- 当[NSObject subscribe:on:]的第二个参数无意传入了的nil对象,下面的代码必崩;
- 事件的优先级有没有 HOT 12
- 多次触发事件 HOT 2
- 问题 HOT 3
- 相比于RAC,事件总线有什么特殊的优势么? HOT 5
- 能透露一下实际应用的有哪些app? HOT 1
- 请问优势在哪 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qteventbus.