• 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
Re: makeWindowControllers question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: makeWindowControllers question


  • Subject: Re: makeWindowControllers question
  • From: mmalcolm crawford <email@hidden>
  • Date: Tue, 2 Dec 2003 15:46:36 -0800

On Dec 2, 2003, at 3:13 PM, Bill Greene wrote:

Less likely: You've either not over-ridden -windowNibName, or it returns the wrong string.
I'm overriding makeWindowControllers instead of windowNibName to allow my document to have multiple windows.
Sorry for not being explicit, the comments apply to your NSWindowController subclass.
You're right: I had not overridden -[NSWindowController windowNibName]. I just now tried doing so, but found that it wasn't called.

Hmm, mea culpa. I got that horribly wrong (my apologies for the confusion).

How are you creating the new controllers? Looking at an example I did a long while ago, I used -initWithWindowNibName:

Other than that, are you either sending the controller a -showWindow message to ensure the window is loaded and displayed?

mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: makeWindowControllers question
      • From: Bill Greene <email@hidden>
References: 
 >makeWindowControllers question (From: Bill Greene <email@hidden>)
 >Re: makeWindowControllers question (From: mmalcolm crawford <email@hidden>)
 >Re: makeWindowControllers question (From: Bill Greene <email@hidden>)
 >Re: makeWindowControllers question (From: mmalcolm crawford <email@hidden>)
 >Re: makeWindowControllers question (From: Bill Greene <email@hidden>)

  • Prev by Date: Re: Connecting lots of fields
  • Next by Date: contract for mutableArrayValueForKey: ?
  • Previous by thread: Re: makeWindowControllers question
  • Next by thread: Re: makeWindowControllers question
  • Index(es):
    • Date
    • Thread