You are so professional!! I like your storytelling by representing real circumstance like iOS developer. I'm waiting for another principle example you will write.
By the way, I just wanna ask you that " Will be ViewController MVVC after refactoring ? "
And I think that it is prefer to extract making URLRequest by considering SRP. How about you?
Thank you for your feedback, really appreciated :)
"Will be ViewController MVVC after refactoring ?", am not sure if I understand the question.
For the last question, I've extracted the networking to a separated struct (APIClient) and then I inject it to the LoginViewModel, so we have a loosely coupled code.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You are so professional!! I like your storytelling by representing real circumstance like iOS developer. I'm waiting for another principle example you will write.
By the way, I just wanna ask you that " Will be ViewController MVVC after refactoring ? "
And I think that it is prefer to extract making URLRequest by considering SRP. How about you?
Thank you for your feedback, really appreciated :)
"Will be ViewController MVVC after refactoring ?", am not sure if I understand the question.
For the last question, I've extracted the networking to a separated struct (APIClient) and then I inject it to the LoginViewModel, so we have a loosely coupled code.