• 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: Bill Greene <email@hidden>
  • Date: Tue, 2 Dec 2003 19:58:17 -0500

On Dec 2, 2003, at 6:46 PM, mmalcolm crawford wrote:


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:

[super initWithWindowNibName:@"MyNibName"];

I'm beginning to suspect that my problem is that the Nib file is not loading properly, although -initWithWindowNibName: does not return nil. windowControllerWillLoadNib: and windowControllerDidLoadNib: are not called. Interface Builder says of my NSWindow that "One of the children has a bad/missing connection", although I haven't been able to determine what the problem is.

-- Bill
_______________________________________________
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>)
 >Re: makeWindowControllers question (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: rounding a float
  • Next by Date: Re: makeWindowControllers question
  • Previous by thread: Re: makeWindowControllers question
  • Next by thread: Re: makeWindowControllers question
  • Index(es):
    • Date
    • Thread