Graphics Programs Reference
In-Depth Information
In
TimeViewController.xib
, drag a
UIView
onto the canvas and then drag a
UIButton
and a
UILabel
onto the view. Give the button a title that reads
What time is
it?
. Give the label text that reads
???
and center it (
Figure 7.7
)
.
Figure 7.7 TimeViewController's XIB file
Notice that these objects appear under the
Objects
section in the outline view (
Figure 7.8
)
.
Objects that appear in this section are the objects that are saved in this XIB file. We have a
special term for this type of saving called archiving. Thus, the objects in this section are
known as
archived objects
.
Figure 7.8 Objects in TimeViewController.xib