Jan 26, 2023
As wrappers go this one is fairly thin. especially with building the URL externally to the request. The HomeViewModel should only know that there's some place to get data. It shouldn't be constructing URLs.
As wrappers go this one is fairly thin. especially with building the URL externally to the request. The HomeViewModel should only know that there's some place to get data. It shouldn't be constructing URLs.
I write about Apple, Swift, and SwiftUI in particular, and technology in general. I'm also a Lead iOS Engineer at InRhythm, a modern digital consulting firm.