ftp.nice.ch/pub/next/developer/resources/classes/NewInspector.README

This is the README for NewInspector.1.1.s.tar.gz [Download] [Browse] [Up]

						NewInspector1.1b
						     by
						Imran Qureshi
						   11/5/91
						   
This class is intended to be used as a generic Inspector which simplifies the programming of Inspectors.  Most of the things that Inspectors do is encapsulated in this class.

The use of this class is simple.  
To create a NewInspector: [NewInspector new]
						This method will guarantee that only one instance of
						NewInspector will ever be created.  Further calls to
						new will return a pointer to the one instance of 
						NewInspector.
						
To add a view:  [myNewInspectorInstance addView: : :]


The supervisor you specify in addView:::, must implement a windowDidUpdate: method which deals with updating the values in your view.  This supervisor can be of any class.

For simple uses, this is all you have to do.  There are some more advanced features which are listed in the man page and in NewInspector.h with comments.

P.S: To pass a view to NewInspector, I group it in IB which gives me a box.  I then send [theBox contentView] to NewInspector.

COPYING:
       You are free to distribute this class-nib file (without modification) as long as it is available to any who ask for it without charge, and as long as this README and the man page is included with it.  I reserve all rights to the source code.
	    This software is distributed with absolute NO guarantees to its correct working.  You choose to use it by your own free will and I will not be held responsible for any actions resulting due to the use of this class.
		If you plan to use this class in a commercial product, send me email. (cooldude@leland.stanford.edu).
		
FUTURE:
	This is only a beta release.  I assume there will be bugs.  Please send all bugs and wishlists to me.(cooldude@leland.stanford.edu)  I am a student so these bugs will take some time to get fixed.
	My next step will be to offer this class-nib combination as a palette object.
	
	Ciao,
	
	Imran

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.