RxSwift + MVVM: how to feed ViewModels
Martin Moizard
2652

Great article Martin, It’s good to see where you guys are heading with Rx + MVVM!

Tough, I have a concern regarding the example you provided in SayHelloView.swift.

I believe that neither TextFieldCell/ButtonCell/GreetingCell should know about SayHelloViewModel. Instead, I’d have a dedicated VM for each of those views that SayHelloViewModel would retain.

That way, you could reuse your views (almost) anywhere in your codebase. :)

What do you think?

PS: Greetings to the team! 😃

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.