Information Technology Reference
In-Depth Information
Naming and initializing the outlet
When you release the mouse button, you see the dialog box in Figure 7.28. Type a useful and descriptive name.
In a simple app, you can leave the other options set to their defaults.
NOTE
Technically, the Storage option sets how the object's memory is managed. Occasionally, you may need to assign
(make a pointer copy of) an object. Usually, it's better to retain it. A full description of iOS memory manage-
ment is outside the scope of this topic. The Type option is simply the class of the UI object. Occasionally, you may
want to select a subclass here.
FIGURE 7.28
For the second step in adding an outlet, the options other than Name can be left with their defaults.
Search WWH ::




Custom Search