home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.mdf / Apps / DevTools / ClassBuilder / Source / IBExample.m < prev    next >
Encoding:
Text File  |  1993-01-25  |  382 b   |  23 lines

  1. #pragma .h #import  <objc/Object.h> 
  2. #import "IBExample.h"
  3. #import <appkit/Window.h>
  4. #import <appkit/ScrollView.h>
  5. #import <appkit/Text.h>
  6.  
  7. @implementation IBExample:Object
  8. { id theText ;
  9. }
  10.  
  11. -setText: (char *) aString ;
  12. { // put theText into textView
  13.   [theText setText: aString] ;
  14.   return self ;
  15. }
  16.  
  17.  
  18. -setTheText: anObject ;
  19. { theText = [anObject docView] ;
  20.   return self ;
  21. }
  22.  
  23. @end