Jul 2, 2022
And SwiftUI allows for cool new formatting features in Text labels. Yeah, get that.
But the flip side is that I work in financial applications where, for example, the formatting may be dependent on the account type. On debit account we might want to show the amount as positive in the list even though the actual value is negative.
And it’s that kind of weird business logic stuff that we want in the view model so we can test it.