• 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: Dominik Pich <email@hidden>
  • Date: Tue, 27 Jul 2004 23:14:24 +0200

awakeFromNib works fine but I want this to work like apple's doc say!
Thanks anyways,
Dominik

On Jul 27, 2004, at 11:03 PM, Frederick Cheung wrote:


On 27 Jul 2004, at 22:56, 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.

adding an awakeFromNib method to your window/views might be better suited to your needs.

Fred

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: Shawn Erickson <email@hidden>
    • Re: windowDidLoad
      • From: Frederick Cheung <email@hidden>
References: 
 >windowDidLoad (From: Dominik Pich <email@hidden>)
 >Re: windowDidLoad (From: Frederick Cheung <email@hidden>)

  • Prev by Date: Re: Re: windowDidLoad
  • Next by Date: Re: windowDidLoad
  • Previous by thread: Re: windowDidLoad
  • Next by thread: Re: windowDidLoad
  • Index(es):
    • Date
    • Thread