News Software Download Buy Now About Us Developers Contact
10. Now we are going to design a simple object, add its outlets (technically speaking, "instance variables") and actions (Objective C methods), and have InterfaceBuilder automatically create the source files for this new class. All you will have to do is add the few lines of code reproduced below to make these custom actions do something useful.

Click on the "Classes" tab in the window with the "Instances" of objects in your interface, and an outline of the class hierarchy will be displayed.

Click on "NSObject".
Select "Classes->Subclass" from the menu bar.

Rename "MyNSObject" to "WordDelegate":

Created by Stone Design's Create on 3/12/1998
©2000 Stone Design top