Graphics Programs Reference
In-Depth Information
The camera button will need to send a message to the instance of
DetailViewCon-
troller
when it is tapped. In previous exercises, you connected action methods in two
steps: declaring them in the header file and then hooking them up in the XIB file. Just like
you did with outlets, you can do both steps at once by opening a source file in the assistant
editor and Control-dragging from a XIB file to the file. Option-click
DetailViewCon-
troller.h
in the project navigator to open it in the assistant editor .
In
DetailViewController.xib
, select the camera button and Control-drag from