Re: Multiple NIBs and -awakeFromNib problems
Re: Multiple NIBs and -awakeFromNib problems
- Subject: Re: Multiple NIBs and -awakeFromNib problems
- From: Ondra Cada <email@hidden>
- Date: Tue, 28 Aug 2001 13:16:49 +0200
Jeffrey,
>
>>>>> Jeffrey J Barbose (JJB) wrote at Mon, 27 Aug 2001 16:24:32 -0700:
JJB> however, when i choose a menu item calls MyController's -showWindow,
JJB> MyController's -awakeFromNib gets called AGAIN. Note that
JJB> MyController is NOT instantiated in the MyController.nib file, but
JJB> MyController set as the File's Owner's class, as is required.
JJB>
JJB> My understanding was that only the instances (windows, other
JJB> controllers) in the nib file receive -awakeFromNib.
Perhaps you might want to reread NSNibAwaking.html ;) Anyway, the File Owner
gets awakeFromNib (since it is, in a sense -- through a reference -- there,
and since you can easily ignore the method, but you might have serious
problem if you happen to need it and it was not sent).
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc