Designing Quiz

You are going to write the Quiz application using the MVC pattern. Here is a break down of the objects you will be creating and working with:

  • 4 view objects: two instances of UILabel and two instances of UIButton

  • 2 controller objects: an instance of BNRAppDelegate and an instance of BNRQuizViewController

  • 2 model objects: two instances of NSMutableArray

These objects and their relationships are laid out in the object diagram for Quiz shown in Figure 1.7.

Figure 1.7  Object diagram for Quiz

Object diagram for Quiz

This diagram is the big picture of how the finished Quiz application will work. For example, when the Show Question ...

Get iOS Programming: The Big Nerd Ranch Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.