You can watch this episode by subscribing to Cocoacasts Plus.

From Zero to App Store

Populating the Feed: Adding Flexibility to the Mock API Client

The MockClient class fetches its mock data from the application bundle. This works fine, but there are a few limitations. The most important limitation is the lack of flexibility. With the current setup, we can only test the happy path, that is, the application showing the user a list of episodes.

Instant and Unlimited Access
to 400+ Cocoacasts Tutorials

Monthly

$19 / month

Pay Once a Month
Access to Community
30 Day Money Back Guarantee

Yearly

$8.25 / month (billed annually)

Pay Once a Year and Save 56%
Access to Community
30 Day Money Back Guarantee
Access to All Books

Next Episode "Populating the Feed: Reducing Code Duplication With Generics"