Copyright ã1996 by NeXT Software, Inc.  All Rights Reserved.

;../07_EditingCode/EditingCode.rtfd;;¬  Next Chapter	;../../02_CreatingTheInterface/05_DynamicPalettes/DynamicPalettes.rtfd;;¬  Previous Chapter

Coding

6	Subclassing

To do something meaningful in OpenStep programming, you must create 
a custom class. Custom classes harness the power of OpenStep objects 
and give an application its distinctive logic and form. This chapter 
describes the basic steps that you must follow to create and use a subclass.

;Subclassing_Roadmap.rtfd;Aroadmaptomakingoraddingcustomclasses;,  A roadmap to making or adding custom classes

;NamingANewClass.rtfd;Naminganewclass;,  Naming a new class

;SpecifyingOutletsAndActions.rtfd;Specifyingoutletsandactions;,  Specifying outlets and actions

;CreatingAnInstanceOfYourClass.rtfd;Creatinganinstanceofyourclass;,  Creating an instance of your class

;ConnectingYourClassOutlets.rtfd;Connectingyourclasssoutlets;,  Connecting your class's outlets

;ConnectingYourClassActions.rtfd;Connectingyourclasssactions;,  Connecting your class's actions

;GeneratingSourceCodeFiles.rtfd;Generatingsourcecodefiles;,  Generating source code files

;ImplementingASubclassOfNSObject.rtfd;ImplementingasubclassofNSObject;,  Implementing a subclass of NSObject

;MakingYourClassADelegate.rtfd;Makingyourclassadelegate;,  Making your class a delegate

;ImplementingASubclassOfNSView.rtfd;ImplementingasubclassofNSView;,  Implementing a subclass of NSView

;AddingExistingClassesToYourNibFile.rtfd;Addingexistingclassestoyournibfile;,  Adding existing classes to your nib file

;UpdatingAClassDefinition.rtfd;Updatingaclassdefinition;,  Updating a class definition

;SubclassingConcepts.rtfd;formattingrtf;,  Related Concepts

I inherited it brick, and left it marble.
		Emperor Augustus

They rightly do inherit heaven's graces,
And husband nature's riches from expense.
		Shakespeare, Sonnets

Observe how system into system runs,
What other planets circle other suns.
		Alexander Pope, An Essay on Man