I have a NIB with two NSWindow objects. The controller class has two IBOutlets, one for each NSWindow (windowLogin and windowMain).
I need only one window visible at startup. Insdide awakeFromNib I use:
[windowMain orderOut:self]
which has no effect. However, if I try:
[windowMain setTitle:@"Renamed Title"];
It works as expected. Thoughts?
source
share