Blocked by the backend? Use prod mocks. - podcast episode cover

Blocked by the backend? Use prod mocks.

Mar 29, 202213 minEp. 84
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

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?

https://iosinterviewguide.com

Connect with us: https://twitter.com/insideiosdev

Email us at hello@insideiosdev.com

For the best experience, listen in Metacast app for iOS or Android