Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

iOS app that displays prime numbers in a table view

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 GHUnitIOS.framework
Octocat-spinner-32 JHPrimeNumberViewer.xcodeproj
Octocat-spinner-32 JHPrimeNumberViewer
Octocat-spinner-32 OCMock
Octocat-spinner-32 UnitTests
Octocat-spinner-32 Versions
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Resources
Octocat-spinner-32 libOCMock.a


Test Driven Development pairing exercise. The goal: create a prime number generator via TDD and display the prime numbers in a table view.

Project starts with a single model test, and many others commented out. Workflow:

  1. Make the test pass as simply as you can.
  2. Refactor code (if desired).
  3. Uncomment the next test.
  4. Repeat 1-3 until finished with the model.
  5. If time remains, make a table view to visualize your prime numbers.

Answer for the model are checked in on the branch answer_no_visualization.

Answer for everything is checked in on the branch answer.

Something went wrong with that request. Please try again.