Re: awakeFromNib and windowWillLoad : basic question
Re: awakeFromNib and windowWillLoad : basic question
- Subject: Re: awakeFromNib and windowWillLoad : basic question
- From: jean Bousquet <email@hidden>
- Date: Tue, 08 Jul 2003 16:35:43 +0200
Hello,
Here are some practical rules I observed running simple tests :
1) The windowControllers of the windows both defined in the MainMenu.nib
file (no matter if the window is or not visible at launch time) never are
sent windowDidLoad (nor windowWillLoad).
These windowControllers always are sent one (and only one) awakeFromNib (at
launch time).
For these windows you have no chance to do some thing in windowWillLoad nor
in windowDidLoad.
2) The windowControllers of the windows defined in another nib file
(different from the MainMenu.nib file), are sent a windowWillLoad, a
awakeFromNib, a windowDidLoad (in that order) each time there are
instantiated.
I post these rules to be reviewed by those on the list who have deeper
experience.
Thanks,
Jean
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.