This is a simple example application to show the use of the FindPanel. It contains a category to the Text class that implements the SearchableText protocol, to serve as an illustration of (and perhaps the basis for) such an implementation in your application. To build, build the FindPanel.bundle and install it in this directory, as explained in the document HowToUse.rtf. Then you can build this project. --------------------------------------------------------------------------- README - This file (not surprisingly) Searcher.h \ Acts as a target for the two switch button Searcher.m / action messages SearchText.h \ A category of Text which implements the SearchText.m / SearchableText protocol regexpr.c \ Regular expression package regexpr.h | by Tatu Ylonen regexpr.readme / Searcher.nib/ - Main nib file for application FindPanel.h \ FindPanelClass.h \ Linked from FindPanel directory FindPanelClass.m / to be easily included SearchableText.h / Makefile \ PB.gdbinit \ PB.project > Project management files Searcher.iconheader / Searcher_main.m / --------------------------------------------------------------------------- The regular expression package is by Tatu Ylonen <ylo@ngs.fi>, and is compatible with the GNU regexpr package (at the time of this package's writing. This is the version posted to the comp.sources.misc newsgroup, volume 27, with the patch posted to the same newsgroup, volume 29. The copyright and license notice for the regular expression code: ======================================================================== Copyright (c) 1991 Tatu Ylonen, Espoo, Finland Permission to use, copy, modify, distribute, and sell this software and its documentation is hereby granted without fee, provided that the above copyright notice appears in all source code copies, the name of Tatu Ylonen is not used to advertise products containing this software or a derivation thereof, and all modified versions are clearly marked as such. This software is provided "as is" without express or implied warranty. ======================================================================== Written and maintained by Christopher J. Kane (kane@gac.edu). Please feel free to contact the author with any questions, comments, bug reports, or suggestions about this package.
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.