I have created a nib which contains a window. I have set the File's Owner to 
NSWindowController.
I have connected the window outlet of File's Owner to the window defined in the 
nib.

I do this:

NSWindowController *wc = [[NSWindowController alloc] 
initWithWindowNibName:@"ProjectAdvisor"];

which returns a value in wc.

Examining wc shows its _window member as 0x0.

Would someone please comment on why _window would be nil ... thanks.

-koko_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to