iOS100

Exercise 1

"Quiz"



Objective

Construct an app with a simple interface that allows a user to select between a list of questions and view the answer associated with the question being asked.

Step 1: Select a Question


Step 2: Show answer to question


Step 3: Repeat





Create a Project





MVC Review

Figure 1.6



Designing Our App


Figure 1.7

MVC



Create a ViewController

BNRViewController

Build an Interface


Create View Objects
  • 2X UILabels
  • 2X UIButtons

Configure View Objects
  • Size
  • Position
  • Text



Make Connections


Declare Outlets

Connect Outlets




Define Action Methods




Set Targets & Actions




Check Summary of Connections




Creating Model Objects




Implementing Action Methods




Testing Our App

iOS100 - iOS Platform Development Introduction - Exercise 1: Building a Quiz Application

By Alex Rodriguez

iOS100 - iOS Platform Development Introduction - Exercise 1: Building a Quiz Application

  • 1,257
Loading comments...

More from Alex Rodriguez