Nov 3, 2022
Thanks!
That is a valid point. If you plan to call it from view controller then I would separate web service into a plain class (as you indicated). I covered that in my original article https://medium.com/better-programming/swiftui-architecture-a-complete-guide-to-mv-pattern-approach-5f411eaaaf9e.