Rapid Prototyping -- Coarse-Grain
In the Preferences Panel, the "Rapid Prototyping" tab provides "course-grain" control over code generation. The upper text field sets the "organization name." Its contents can be used in substitutions in the text views below.
The two text views serve as templates, edited by the user. For each file generated, the upper text view provides text at the very beginning, and the lower text view provides text at the very end.
Substitutions occur for the following keywords:
- _org_
From the top text field.
- _fileName_
The name of the file -- MyClass.h or MyClass.m, for example.
- _date_
Today's date.
- _moduleDescription_
The description of the class or enumeration -- "Description of MyClass forthcoming", for example.
- _suiteName_
The name of the suite that contains the class or enumeration -- "UntitledSuite", for example.
- _suiteDescription_
The description of the suite that contains the class or enumeration -- "Description of UntitledSuite forthcoming", for example.
NSCoreSuite's NSColor class yields the following NSColor.h file: