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

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -