background image
Assign Labels to the Fields
Text fields without labels would be confusing, so add labels to them by using the ready-made label object
from the library.
1.
Drag a Label element onto the window from the Cocoa library.
2.
Make the text label right aligned:
With the Label element selected, click the third button from the left in the Alignment area in the Text
Field Attributes tab in the Inspector, as shown in Figure 4-5.
Creating the Currency Converter Window
31
2007-10-31 | © 2007 Apple Inc. All Rights Reserved.
CHAPTER 4
Defining the View: Building the User Interface