ftp.nice.ch/pub/next/developer/objc/appkit/BasicApp.README

This is the README for BasicApp.99.99.s.tar.gz [Download] [Browse] [Up]

BasicApp.README

The BasicApp Suproject is a collection of generic classes useful for any multi-document application.  Using these will
 a) enable you to write programs faster
 b) ensure greater consistency of behaviour
 (disabled menu buttons, intelligent document saving, search/find, etc.)
 
Much of these are borrowed from the Draw example, and cleaned up, generalized, and abstracted into generic classes.  A lot of this should be in 3.0, but you never know, and besides it'll probably be until March.  All classes are in the Public Domain except "Random", which is under the GNU Public License.

The classes are:

AppWithDoc - Application with Multi-document support
Document - a Fesponder with 'contents'
List-Ordered - A Category of List with Ordering functions.
Card - a storage object with numerous entries (float, int, string, etc.)
PageMargins - set margins from the Page Layout panel

Random - generate a Random number.  (Note that this class is under the GNU Public License, and thus any programs that are distributed using this must make the source code available as well.)

In addition, there should be a 'Controller' file to set up the required defaults (window placement) and fix the Document type (and its contents).  The AppWithDoc should be set as the main Nib file's owner. 

The '.m' files are pretty thoroughly documented.  To facilitate learning, I have included a sample application called "Flash".  It is a simple flash-card program designed as a thin skin over the base objects.

I hope this encourages the development of high quality, freely available NeXT programs.  The more powerful our base tools, the better our productivity.  I am also working on Selectable (for cut and paste) Views, and a generic Scientific Graphing Package.  Probably not before the end of the year, as I'll be in China for the month of November.

Good luck, and happy hacking.

Ernest Prabhakar, October 28, 1991
ernest@pundit.cithep.caltech.edu
 

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