home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!Germany.EU.net!unido!nextpoint!dev01
- From: hans@dev01 (Hans Peter Geiser)
- Newsgroups: comp.sys.next.programmer
- Subject: Re: What if two objects in same nib file ... need help
- Message-ID: <1686@nextpoint.UUCP>
- Date: 31 Jul 92 07:26:00 GMT
- References: <1992Jul29.205559.25532@aio.jsc.nasa.gov>
- Sender: usenet@nextpoint.UUCP
- Lines: 14
-
- In article <1992Jul29.205559.25532@aio.jsc.nasa.gov> bill@epnxt.jsc.nasa.gov
- writes:
- > If one has two objects in the same nib file (one nib file for the
- > program), how does one know which will execute on execution of the
- > program?
- >
-
- This depends on your code! (-:. The first place where you can force objects to
- react are the delegate-methods of your application-object's delegate
- appWillInit: and appDidInit:. These messages are sent if the applications
- delegate has implemented the appropriate methods. Later it depends on the kind
- of events the WindowServer get, which objects are 'messaged'.
-
- Hans - Peter Geiser
-