Re: NSWindows/NSPanels/NSDrawers are NIL
Re: NSWindows/NSPanels/NSDrawers are NIL
- Subject: Re: NSWindows/NSPanels/NSDrawers are NIL
- From: "I. Savant" <email@hidden>
- Date: Mon, 10 Jul 2006 16:52:35 -0400
You mentioned that other panels open just fine ... it may be time
to do a direct comparison between the working ones and the errant
one. Are you sure everything's exactly the same in your header,
implementation, and nib?
--
I.S.
On Jul 10, 2006, at 4:48 PM, San Saeteurn wrote:
No,
The outlets are being acted on during runtime. When the user
clicks on a button.
From: Tomas Franzén <email@hidden>
To: San Saeteurn <email@hidden>
Subject: Re: NSWindows/NSPanels/NSDrawers are NIL
Date: Mon, 10 Jul 2006 22:30:22 +0200
On 10 jul 2006, at 21.18, San Saeteurn wrote:
It is connected. I even went as far as deleting the panel and
replacing it with a window and a drawer and back again. None of
them works!
Are you by any chance trying to act on outlets from your
controller's init method? Keep in mind that outlets are connected
after init gets called. If this is the problem, try placing the
code that does stuff with outlets to awakeFromNib instead of init.
Tomas Franzén
Lighthead Software
http://www.lightheadsw.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
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