Pulling it all Together
You have created, configured, and connected your view objects and their view controller. You have created the model objects. Two things are left to do for Quiz:
-
finish implementing the action methods showQuestion: and showAnswer: in BNRQuizViewController
-
add code to BNRAppDelegate that will create and display an instance of BNRQuizViewController
Implementing action methods
In BNRQuizViewController.m, finish the implementations of showQuestion: and showAnswer:.
... // Return the address of the new object return self; } - (IBAction)showQuestion:(id)sender { // Step to ...
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.