The UIViewController TDD screencast ended with all the code in the view controller. Unfortunately, this is where many iOS programmers leave things! Let’s TDD our way to something better…
In part 2, we pick up from there and TDD to extract a model class, which the controller observes. You’ll see it evolve into true Model-View-Controller, driven by unit tests.
In particular, you’ll see how to TDD:
Question: What difficulties do you face when trying to TDD your code? Leave a comment below.
“Do it now” sound by freesound
Please log in again. The login page will open in a new window. After logging in you can close it and return to this page.