Re: windowDidLoad doesn't run
Re: windowDidLoad doesn't run
- Subject: Re: windowDidLoad doesn't run
- From: mmalc crawford <email@hidden>
- Date: Thu, 22 Feb 2007 19:58:27 -0800
On Feb 22, 2007, at 6:22 PM, Paul wrote:
I have a program the sometimes needs to put a sheet up on the main
window as soon as the program runs. Problem is, if I put the method
call in awakeFromNib, the sheet opens before the window. If I put it
in windowDidLoad, it never runs because windowDidLoad never runs.
I use windowDidLoad in other classes (Preferences, etc), and they
work properly, but in the main part of my program, which is a sub
class of NSDocument, nothing.
<http://developer.apple.com/documentation/Cocoa/Conceptual/Documents/Tasks/FAQ.html#//apple_ref/doc/uid/20000954-1081016
>
"When can I do setup operations on my user interface objects?"
mmalc
_______________________________________________
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