Re: awakeFromNib not called
Re: awakeFromNib not called
- Subject: Re: awakeFromNib not called
- From: "Paul J. Lucas" <email@hidden>
- Date: Wed, 5 Oct 2005 23:12:18 -0700 (PDT)
On Thu, 6 Oct 2005, Kirt Cathey wrote:
> If this is a document application, are you calling (or 'awakening') the
> foo.nib from MyDocument, MainMenu or somewhere else?
This tiny application has a single main window and a Foo class.
It doesn't even have a menu. The NIB file is being loaded
because the window displays properly, but I personally am doing
nothing to load it.
> awakeFromNib will not get called until a related resource that the class owns
> gets called.
What's an example of a related resource? And how would I call
it?
> Aaron Hillegass' book outlines first responder very well and should clear
> this up.
... which I don't happen to have sitting here.
In IB (Interface Builder), I haven't explicitly done anything
with the First Responder.
In IB, I can hold the Controll key and drag a connector line to
my Foo class, but what would I connect it to? Is this even the
right thing to do?
- Paul
_______________________________________________
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