Re: Nib files and outlets
Re: Nib files and outlets
- Subject: Re: Nib files and outlets
- From: Ricky Sharp <email@hidden>
- Date: Sat, 27 Nov 2004 17:39:50 -0600
On Nov 27, 2004, at 5:17 PM, Björn Carlström wrote:
I suppose this is in the FAQ somewhere but I couldn't find it.
At a certain point in my code I need to load a nib file and present a
window to the user. The nib file also contains a WindowController
which is hooked up to another controller object, which I need to
display the right information in the window. Now, when loading the nib
with initWithWindowNibName the controller object isn't connected to
the Window Controllers outlet yet.
Is there a way to wait around until the nib has finished loading?
How about implementing awakeFromNib? All connections should then be
established and you can set up any initial state.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden