CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.
TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Dec 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✓ |
Maintained by Event Node.
Made in Yalantis. Inspired by https://github.com/mmrmmlrr/ModelsTreeKit
Imagine that you have iOS application with many screens. Each screen is managed by UIViewController and some data/logic/helper classes. All classes which linked to one screen I call Module.
We don’t discuss communication between classes inside a Module - it can be done pretty easy with delegate/callback/reactive signals. But what if you need to communicate between different Modules. They can be placed far away from each other in navigation flow. You can deal with it using NSNotificationCenter, or you can pull callbacks/delegates and etc across the whole application making it overcomplicated.
Navigation flow of Modules in app is tree-like structure. And EventNode propose tree-like solution for every such situation(not only Modules but every tree). Instead of creating route for every change we will provide the single easy way to delivering events where they are needed.