Go offline with the Player FM app!
Blocked by the backend? Use prod mocks.
Manage episode 324030264 series 1436686
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.
Sign up for Alex's upcoming video course about iOS System Design Interview: https://iosinterviewguide.com/system-design-interview
Need to prepare for an iOS Engineer Interview?
Connect with us: https://twitter.com/insideiosdev
Email us at [email protected]
88 episodes
Manage episode 324030264 series 1436686
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.
Sign up for Alex's upcoming video course about iOS System Design Interview: https://iosinterviewguide.com/system-design-interview
Need to prepare for an iOS Engineer Interview?
Connect with us: https://twitter.com/insideiosdev
Email us at [email protected]
88 episodes
All episodes
×Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.