• 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
Window Controllers Not Linking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Window Controllers Not Linking


  • Subject: Window Controllers Not Linking
  • From: Sanford Selznick <email@hidden>
  • Date: Fri, 14 Oct 2005 15:15:36 -0700

Hello,

  I have a multi-document application created with stationary.

  In MyDocument.nib I have:

    A MyWindowController instance (inheriting from NSWindowController)
    A Window instance (of NSWindow)

I want Cocoa to use MyWindowController for my window from the Nib instead of creating its own NSWindowController.

How do I convince Cocoa to use the MyWindowController instance from my Nib instead of creating its own? What's the best place to do this? If I try to do it in NSDocument:makeWindowControllers, MyWindowController hasn't been instanced yet. Am I missing some magic in IB perhaps?

Thanks,
  Sanford

PS - I'm a little new to cocoa, if you couldn't already tell.  ;-)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Window Controllers Not Linking
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Which NSPanel is in front?
  • Next by Date: Re: Java splashscreen classes not instantiated??
  • Previous by thread: Which NSPanel is in front?
  • Next by thread: Re: Window Controllers Not Linking
  • Index(es):
    • Date
    • Thread