• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSWindowController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSWindowController


  • Subject: NSWindowController
  • From: koko <email@hidden>
  • Date: Mon, 29 Aug 2011 16:51:29 -0600

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 (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSWindowController
      • From: Jens Alfke <email@hidden>
  • Prev by Date: UpdateSystemActivity(OverallAct) to prevent sleep in Lion...
  • Next by Date: Re: NSWindowController
  • Previous by thread: Re: UpdateSystemActivity(OverallAct) to prevent sleep in Lion...
  • Next by thread: Re: NSWindowController
  • Index(es):
    • Date
    • Thread