Implementing the Coordinator pattern using UIResponder. 🤔
”With this approach, you can:
1. Call a Coordinator's method from anywhere: view controller, view, button's event handler, table/collection view cell, UIAlertAction etc.
2. That call will be passed up the responder chain until it reaches some Coordinator instance which overrides that method.”
…
http://aplus.rs/2018/coordinator-missing-pattern-uikit/
#iOS #coordinators #architecture
”With this approach, you can:
1. Call a Coordinator's method from anywhere: view controller, view, button's event handler, table/collection view cell, UIAlertAction etc.
2. That call will be passed up the responder chain until it reaches some Coordinator instance which overrides that method.”
…
http://aplus.rs/2018/coordinator-missing-pattern-uikit/
#iOS #coordinators #architecture
sing the coordinator pattern isn't a great choice all the time, because managing complex flows with vanilla UIKit is a good way as well. 🤔
https://sandofsky.com/blog/controller-hierarchies.html
p.s. For better understanding aforementioned article need to be aware of the Actor Chain.
http://wangling.me/2014/06/view-controller-actor-chain.html
#iOS #coordinators
https://sandofsky.com/blog/controller-hierarchies.html
p.s. For better understanding aforementioned article need to be aware of the Actor Chain.
http://wangling.me/2014/06/view-controller-actor-chain.html
#iOS #coordinators
Sandofsky
Controller Hierarchies
Benjamin Sandofsky, a Software Engineer in San Francisco, California.