iOS, Swift, Swiftui, Mobile, Mobile App Development.
can do better. Second approach: small services An obvious approach would be to “go extreme” and have all the different capabilities as different protocols. protocol AllShowsService { func allShows() async -> [Show] } protocol AllEpisodesService { func allEpisodes(for show: Show) async -> [Episode]