home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / next / programm / 5379 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  994 b 

  1. Path: sparky!uunet!mcsun!Germany.EU.net!unido!nextpoint!dev01
  2. From: hans@dev01 (Hans Peter Geiser)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: Re: What if two objects in same nib file ... need help
  5. Message-ID: <1686@nextpoint.UUCP>
  6. Date: 31 Jul 92 07:26:00 GMT
  7. References: <1992Jul29.205559.25532@aio.jsc.nasa.gov>
  8. Sender: usenet@nextpoint.UUCP
  9. Lines: 14
  10.  
  11. In article <1992Jul29.205559.25532@aio.jsc.nasa.gov> bill@epnxt.jsc.nasa.gov  
  12. writes:
  13. > If one has two objects in the same nib file (one nib file for the  
  14. > program), how does one know which will execute on execution of the  
  15. > program?
  16.  
  17. This depends on your code! (-:. The first place where you can force objects to  
  18. react are the delegate-methods of your application-object's delegate  
  19. appWillInit: and appDidInit:. These messages are sent if the applications  
  20. delegate has implemented the appropriate methods. Later it depends on the kind  
  21. of events the WindowServer get, which objects are 'messaged'. 
  22.  
  23. Hans - Peter Geiser
  24.