Skip to content
Blocked by the backend? Use prod mocks. episode artwork

Mar 29, 2022 13 min

Blocked by the backend? Use prod mocks.

from Inside iOS Dev Hosted by Alex Bush, Sandeep Aggarwal

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 [email protected]

Episode details come from the podcast's RSS feed.

Embed this episode

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.

Ready to play

Blocked by the backend? Use prod mocks.

0:00 13:08

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Inside iOS Dev?

This episode is 13 minutes long.

When was this Inside iOS Dev episode published?

This episode was published on March 29, 2022.

Can I download this Inside iOS Dev episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.