1 min readFeb 4, 2019
A system I’ve been using for a while now keeps in mind that init
s are functions.
Rather than having massive tuples for the inputs and outputs. I have a struct for each (without the ViewModel
boilerplate) and an init
on the output that takes the input as an argument. QED. I grant though that this system doesn’t produce the handy warning if you forget to bind to an output.
See more of this idea at: https://github.com/danielt1263/RxEarthquake