I am trying to create a simple modal dialog in XCode 4. I have created the xib, created the NSWindowController derived class and made it the class in the File's Owner of the xib. The part I am having trouble with is physically connecting the window outlet as mentioned in the answers to questions:
How to give focus to NSWindow loaded from NIB?
Why do I have to call showWindow on my NSWindowController twice on 10.5?
and in Apple documentation here:
I understand the concept, but I cannot figure out how to actually do it in XCode 4! I know how to connect a control in a xib to an outlet or action in a class via CTRL-drag. I just do not know what to drag to and from in this case.
Any help appreciated.