DEV Community

Discussion on: SOLID Principles in Swift: Single Responsibility Principle

Collapse
 
bionik6 profile image
Ibrahima Ciss • Edited

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.