Hi,
I have a problem creating and launching a NSPanel from a NSWindowController.
In The NSWindowController (EditCountdownController: init)
In The Main Window Controller (This Creates The Window Controller Object etc)
Now if i turn off "Visible at launch" in interface builder, the panel doesnt show up at all. If its switched on it turns up on the correct event, but if i close the panel (using x at top) and try and reopen it doesnt show.
Many Thanks,
-Alex
I have a problem creating and launching a NSPanel from a NSWindowController.
In The NSWindowController (EditCountdownController: init)
Code:
self = [super initWithWindowNibName:@"EditCountdown"];
return self;
In The Main Window Controller (This Creates The Window Controller Object etc)
Code:
if(!m_edit_controller)
{
m_edit_controller = [[EditCountdownController alloc] init];
}
[m_edit_controller showWindow:self];
Now if i turn off "Visible at launch" in interface builder, the panel doesnt show up at all. If its switched on it turns up on the correct event, but if i close the panel (using x at top) and try and reopen it doesnt show.
Many Thanks,
-Alex