Graphics Programs Reference
In-Depth Information
Here are the missing connections:
QuizViewController , the controller object, must have pointers to the
UILabel instances so it can tell them what to display.
• The UIButton instances must have pointers to the QuizViewController
so they can send messages to the controller when tapped.
Setting pointers
Let's start with the connections to the UILabel instances. The instance of
QuizViewController has a pointer called questionField . You want ques-
tionField to point to the instance of UILabel at the top of the view.
Search WWH ::




Custom Search