home *** CD-ROM | disk | FTP | other *** search
- //
- // An Object to Append Text to IB's Default ScrollView
- // Randy Nelson—Copyright NeXT Computer, Inc 1990 All Rights Reserved
- // Created 5-1-90
- // Modified 9-3-90 -- Removed outlet initializers.
- //
- // You may freely copy, distribute and reuse the code in this example.
- // NeXT disclaims any warranty of any kind, expressed or implied, as to
- // its fitness for any particular use.
- //
-
- #import <objc/Object.h>
-
- @interface Appender:Object
- {
- id scrollView;
- }
-
- //prints the doc view of the scroll view
- - print:sender;
- //appends the string passed to the doc view of the scroll view
- - appendToText:(const char *)newText;
-
- @end
-