Re: can't get sheet to appear
Re: can't get sheet to appear
- Subject: Re: can't get sheet to appear
- From: Kyle Sluder <email@hidden>
- Date: Tue, 10 Nov 2009 12:19:50 -0800
On Nov 10, 2009, at 11:45 AM, SRD <email@hidden
> wrote:
- (id) init
{
self = [super initWithWindowNibName:@"Configure"];
...
}
I'm assuming this is a subclass of NSWindowController.
NSWindowController lazily loads your nib, so your configSheet outlet
is always nil. This is also why awakeFromNib is never being called.
Instead of using this outlet, you could just hook up the window outlet
and use [self window].
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden