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

Re: windowDidLoad


  • Subject: Re: windowDidLoad
  • From: 陳銘崧 a.k.a. James Chen <email@hidden>
  • Date: Wed, 28 Jul 2004 09:30:27 +0800

Did you create your NSWindowController subclass with onw of these, -initWithWindowNibPath:owner:, -initWithWindiowNibName: or initWithWindowNibName:owner:.
If no, that's reasonable your -windowDidLoad gets no called.
HTH,
James

------------------------------------
Ulead Systems Inc.
James Chen
Software Engineer
Image Div.
------------------------------------
On Jul 28, 2004, at 4:56 AM, Dominik Pich wrote:

I need to set the values of my views immediately after the enclosing
window loads. The documentation mentions that -windowDidLoad in the
NSWindowController could be used for such a thing. I've added a
-windowDidLoad method to my subclass of NSWindowController but although
the window loads, -windowDidLoad never gets called at run time.

I checked out the "Sketch" sample app and it works
fine there.

How can I get -windowDidLoad to execute?


Thanks
--Dominik
_______________________________________________
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.
_______________________________________________
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: windowDidLoad
      • From: Dominik Pich <email@hidden>
References: 
 >windowDidLoad (From: Dominik Pich <email@hidden>)

  • Prev by Date: Re: earliest code that runs?
  • Next by Date: Re: earliest code that runs?
  • Previous by thread: Re: Re: windowDidLoad
  • Next by thread: Re: windowDidLoad
  • Index(es):
    • Date
    • Thread