• 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: windowDidLoad doesn't run
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: windowDidLoad doesn't run


  • Subject: Re: windowDidLoad doesn't run
  • From: Klaus Backert <email@hidden>
  • Date: Tue, 13 Mar 2007 18:28:01 +0100


Am 12.03.2007 um 22:56 schrieb Paul:

Although I saw your reply right after you sent it, I just realized this reply has been sitting in my Drafts folder since then.

What I got from the document didn't help.

Based on this document, it looks like I should take control of - (void)windowControllerDidLoadNib:(NSWindowController *) windowController
but that never gets called either.


I basically wound up doing a one shot .1 second NSTimer, and all works fine. Mind you, I would love to know why things didn't work like I expected, but I'm good for now.

The document's method windowControllerDidLoadNib: is called *if* the document is the nib file's owner. The window controller's method windowDidLoad is called *if* the window controller is the nib file's owner. What object is the nib file's owner in your case?


Klaus
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >Re: windowDidLoad doesn't run (From: Paul <email@hidden>)

  • Prev by Date: Re: Custom Enable Binding
  • Next by Date: Re: so many resource occupied by QCRenderer.
  • Previous by thread: Re: windowDidLoad doesn't run
  • Next by thread: Sharing a content view between two NSViews
  • Index(es):
    • Date
    • Thread