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

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -