Blocked by the backend? Use prod mocks.
Inside iOS Dev - Un podcast de Alex Bush, Sandeep Aggarwal
Catégories:
In this episode Sandeep and Alex showcase how mocks can be used in production code to substitute upcoming unfinished or unreleased backend changes. They use dependency injection and Liskov Substitution Principle to inject a service object implementation that uses local hardcoded data instead of fetching it from the network.