In Part 3 of this tutorial, we began adding unit tests to our project. So now we know that at least some of our project has been tested. But how much? In order to answer that question, we’re going to add some code coverage measurement to the project. The source code for this tutorial may be found on GitHub. This part’s code is in the Version3 directory.

Update: Since the introduction of iOS 7, there’s an additional step required to make everything work, which is described in this post.