wiki:AppleCurrencyConverterBuildingUserInterfaceWithTigerAddTextFields

Version 5 (modified by mikel, 6 years ago) (diff)

--

Add Text Fields

Next we will add text fields to the application window. Two of the fields are for user input: one accepts the number of dollars to convert to a foreign currency; the other accepts the exchange rate. The third text field is a read-only field that displays the dollar amount converted to the foreign currency.

In InterfaceBuilder's Palettes window, select the "Cocoa Text" view, and find the NSTextView object:

Cocoa Text palette

Drag an NSTextView object and drop it into the "Currency Converter" window:

Start Previous

Attachments