This is ToolInspectorTemplate.m in view mode; [Download] [Up]
#import "XXXXInspector.h" #import "XXXX.h" @implementation XXXXInspector // **************************************************************************** // **************************************************************************** // Inspector protocol methods. // **************************************************************************** // **************************************************************************** // Return the title for the inspector's panel. - (char *)inspectorTitle { return "XXXX Inspector"; } // Return the window that represents the inspector. - window { return window; } // Make sure the inspector displays the object's current values. - revert:sender { return self; } // Set the object's current values. - ok:sender { // Make the inspector's window be the first responder so that // textDidChange: messages will be received. [window makeFirstResponder:window]; return self; } @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.