objective c - NSWindowController showWindow only works once -
i have subclass of nswindowcontroller has own nib , class has ibaction show window , loads so.
if (!propertiescontroller){ propertiescontroller = [[propertiescontroller alloc] init]; } [propertiescontroller showwindow:self]; it first time after close window , call method again window not displayed. sure window not getting released. possibly have override showwindow order window front? or have specify window controller uses in nib?
have tried
[propertiescontroller.window makekeyandorderfront:self]; ?
Comments
Post a Comment