Graphics Programs Reference
In-Depth Information
Figure 7.6 Creating an empty XIB
Name this file TimeViewController.xib and save it. Then select it in the project
navigator to show it the editor area. (It is important to name files as we tell you. Some-
times, people like to name files differently as they are working through this topic. This is
not a good idea; many of the names are intentional because of assumptions built into the
iOS SDK. We'll talk more about these assumptions later, and you can experiment then.)
Demystifying the XIB: File's Owner
In previous chapters, you have been editing XIB files and seeing interfaces in your applic-
ation without much explanation of how they got there. Now it's time to learn how XIB
files work.
XIB files contains objects: dragging an object onto the canvas saves that object into the
XIB file. When the XIB file is loaded, those objects are loaded back into memory.
 
Search WWH ::




Custom Search