Terrick Mansur
Nov 22, 2020

100% Agree with this article.

An exercise I do when I name my viewModel functions is, I ask myself if the name would make sense if I need to use the viewModel in a console program.

So anything with viewDidLoad, viewDidAppear, button, slider, scroll, or any word that is related to UI would not be a correct way to name the function.

I wrote an article of how to improve the MVVM setup its called;

"The missing piece of MVVM".

I think you might like it.

Responses (1)