Graphics Programs Reference
In-Depth Information
Let's recap what you know so far about view controllers and loading views. A view con-
troller controls a screen, which is a view. The view controller's
view
, in turn, has sub-
views, which make up a view hierarchy. A view controller can get its
view
two different
ways:
• A view controller whose
view
doesn't have any subviews will override
loadView
to create a view instance and send the message
setView:
to itself.