• 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
[myWindowController window] returns null !
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myWindowController window] returns null !


  • Subject: [myWindowController window] returns null !
  • From: Louis Demers <email@hidden>
  • Date: Wed, 23 Feb 2011 23:26:11 -0500

Hi,

 I instantiate a NSWindowController with the nib file name and call showWindow on it.

myWindowController = [[NSWindowController alloc] initWithWindowNibName:@"myWindowXIB" owner: someObject ];

My window and its content show up but when I ask the windowController for the window pointer it returns null. So I can't do anything else with the window.  I'm not using an NSDocument stuff...  Any clues ?

Thanks


Louis Demers eng.
www.obzerv.com


_______________________________________________

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: [myWindowController window] returns null !
      • From: "Stephen J. Butler" <email@hidden>
  • Prev by Date: [Meet] LA Cocoa Heads starts iOS book study March 10th
  • Next by Date: Re: [myWindowController window] returns null !
  • Previous by thread: [Meet] LA Cocoa Heads starts iOS book study March 10th
  • Next by thread: Re: [myWindowController window] returns null !
  • Index(es):
    • Date
    • Thread