Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: windowDidLoad
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: windowDidLoad



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.


References: 
 >windowDidLoad (From: Dominik Pich <email@hidden>)
 >Re: windowDidLoad (From: Frederick Cheung <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.