What happens when the delegates are required, and not just optional?
Dani Pralea
13
Delegates are pushed events so they fit with a proxy class. If you have a method that returns a value (that’s a pull) which not suited for Rx’s model. You should create a manager class. Take a look at RxDataSources which is a UITableViewDelegate and UITableViewDataSource wrapper implementation. Pull events are held in separate object and will notify the object that’s calling for the return value.
It’s quite involved. I would implement return value-based delegate methods. But push methods where the implementer just gets called events back, you should Rx-ify that.