NormalBrowser
by Sharon Zakhour, NeXT Developer Support Team

Overview

This mini-example illustrates how to implement a normal browser.  The user interface, created in IB, consists of a single window with an NXBrowser instance, myBrowser.  

Program Organization

How to build the nib files
The only connection is one from the File's Owner [the Controller] to the browser, myBrowser, which is an outlet of the Controller class.

Class[es] in the Application
  
 Controller	The Controller class, a subclass of Application, is also the NXBrowser delegate.   The browser is filled on application startup in the appDidInit: method.  The contents of the browser are generated on the fly.
 
Other References

The BusyBox example -- in /NextDeveloper/Examples/AppKit  -- illustrates how to implement a lazy browser in its help facility.

Change History

· 2/22/93	lcox:  Updated to 3.0.  Changes were:
· Replaced all of the "#import <appkit/Class.h>" lines with "#import <appkit/appkit.h> in the Header files.
· 6/22/93	lcox:  Updated PB.project.  Changes were:
· Made NormalBrowser.nib localizable
· Added Makefile to the Supporting Files suitcase

Valid for 3.0