iOS, Swift, Swiftui, Mobile, Mobile App Development.
A first approach would be to separate our big interface into two, distinct interfaces: one for reading, and one for writing. This is called Command Query Responsibility Segregation. // Reads protocol ShowQueryService { func allShows() async -> [Show] func allEpisodes(for show: Show) async ->