Single Responsibility: Breaking Up Fat ViewModels in SwiftUI
The Single Responsibility Principle (SRP) states that a class should have one reason to change. It's the first letter of SOLID, and arguably the one most frequently violated in SwiftUI projects.
The c
swiftuicentral.com8 min read