• 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: Linking seperate nibs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking seperate nibs


  • Subject: Re: Linking seperate nibs
  • From: Carlos Weber <email@hidden>
  • Date: Sun, 2 Sep 2001 07:51:10 -1000

On Saturday, September 1, 2001, at 10:42 , Lonnie Ezell wrote:

I was reading through the archives a couple of days ago, trying to find an answer to how to have two nib files communicate. I found the link to the ExampleMDI program and tried to follow it along, but it's not working for me.

As far as I can tell I have everything connected correctly, and the routines are compiling without a hitch.

Here's the specific problem, maybe someone can give some more ideas:

I have an application delegate that is handling applicationWillFinishLoading and applicationDidFinishLoading. During the willFinish, it tries to instantiate a splash screen stored in a seperate nib file. The screen will display the progress as it loads.

When it's done loading, DidFinish should get rid of it. Everything compiles with no errors, but it seems like the connection to the splash screen is not getting made. When the function is called in the splashController to display the screen, which centers it and displays it, there are no warnings or errors, yet, a breakpoint in that function never gets stopped at. So I assume that it never gets called.

Any ideas?

Lonnie, check out the SimpleMultiWindow example at /Developer/Examples/InterfaceBuilder/SimpleMultiWindow/ for the most bare-bones example of how to load a secondary window and its nib file from the main app's nib. The Sketch example is also instructive (/Developer/Examples/AppKit/Sketch/); Sketch's preferences panel, inspector panel, etc are in separate nibs which are loaded lazily. If these examples don't do the trick you may need to post your code for people to take a look at.


  • Prev by Date: NSImage with URL - why doesn't it work?
  • Next by Date: CFRunLoop
  • Previous by thread: Linking seperate nibs
  • Next by thread: NXAtom
  • Index(es):
    • Date
    • Thread