I'm sure this is a really simple problem, but I am pulling my hair out!
I have a subclass of NSWindowController called WinAController. It was created in IB and is located in MainMenu.xib.
I have a separate tip called WinA.xib that contains only one window. In this nib, I installed the following:
- File Owner Class
WinAController windowFile Owner Property for WinA- WinA deadlock for
WinAController(which implements the NSWindowDelegate protocol).
I connected the MainMenu menu item to the method -showWindowfor WinAController so that when you click on it, WinA displays, but nothing happens. It seems that the WinAController property is windownot set.
Where am I mistaken? Do I need to initialize WinAController with WinA.xib at some point in the code to install this?
Thank,
Garry source
share