Changes between Version 5 and Version 6 of AppleCurrencyConverterAddingOutletsAndActionsToTheNib


Ignore:
Timestamp:
Jan 18, 2008, 7:47:42 PM (12 years ago)
Author:
mikel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AppleCurrencyConverterAddingOutletsAndActionsToTheNib

    v5 v6  
    55[[Image(ibwin-leopard6.jpg)]]
    66
     7We'll connect each of the "field" outlets to one of the text fields in the !CurrencyConverter UI, and we'll connect the "converter" outlet to the Converter instance that we created before. When the application launches, it creates the Converter and !ConverterController instances and establishes the connections that we specify in the nibfile.
     8
     9First, though, we need to tell the nibfile about actions as well as outlets. With the "!ConverterController" instance selected, use the "+" button below the "Class Actions" section to add a new action. Name the action "convert:":
     10
     11
     12
    713[AppleCurrencyConverter Start] [AppleCurrencyConverterAddingCustomClassesToTheNib Previous]