iOS, Swift, Swiftui, Mobile, Mobile App Development.
markEpisodeAsWatched(episode: Episode) { XCTFail("Shouldn't be called") } func markShowAsWatched(_ show: Show, until episode: Episode?) { XCTFail("Shouldn't be called") } } SRP violation When violating ISP, it’s quite common to violate SRP as well. SRP is all about cohesion and having to change for