home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / next / programm / 8263 < prev    next >
Encoding:
Text File  |  1993-01-23  |  1.2 KB  |  40 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!karl@ensuing.com
  3. From: karl@ensuing.com (Karl Kraft)
  4. Subject: Re: init methods with Project Builder
  5. Message-ID: <9301221935.AA00493@ensuing.com>
  6. Sender: daemon@magnus.acs.ohio-state.edu
  7. Reply-To: karl@ensuing.com (Karl Kraft)
  8. Organization: Ensuing Technologies Inc.
  9. References: <1993Jan22.184146.2218@leland.Stanford.EDU>
  10. Distribution: usa
  11. Date: Fri, 22 Jan 1993 19:35:43 GMT
  12. Lines: 26
  13.  
  14. In article <1993Jan22.184146.2218@leland.Stanford.EDU>  
  15. fud@leland.Stanford.EDU (Fred Lide Cheng) writes:
  16. >Hi,
  17. >
  18. >I'm aa beginner to programming the NeXT and to OOP in general.  I'm trying
  19. >to initialize a Matrix class object ( with a different cellClass) at
  20. >the beginning of the program.  I was wondering how one would go about 
  21. >doing this since the main file isn't supposed to be modified.
  22.  
  23. give the application a delegate and use appDidinit:
  24.  
  25. or
  26.  
  27. Make an object that does these modifications and uses awakeFromNib
  28.  
  29. or
  30.  
  31. modify the main file, but turn off "Generate Main File on Save" in PB's  
  32. Attributes inspector for the project.
  33.  
  34.  
  35. --
  36. __________
  37. Karl Kraft
  38. karl@ensuing.com  (NeXT mail)
  39.  
  40.