Last Revision: | Version 1.0, 2009-06-01 SimpleBrowser is a very simple example of how to create a basic NSBrowser delegate implementation. |
Build Requirements: | Xcode 3.2 or later, Mac OS X v10.6 or later |
Runtime Requirements: | Mac OS X v10.6 or later |
SimpleBrowser is a very simple example of how to create a basic NSBrowser delegate implementation. See the ComplexBrowser example for a more interesting example, and to see the use of a custom cell.
Two delegate implementation styles are shown and can be turned on and off via a #define in AppController.m. The first style utilizes a new "item-based" API introduced in Mac OS X v10.6. Applications targeting Mac OS X v10.6 and higher should use this new API. For applications that must run on prior releases, an older implementation is shown.
Last updated: 2009-06-01