windowDidLoad doesn't run
windowDidLoad doesn't run
- Subject: windowDidLoad doesn't run
- From: Paul <email@hidden>
- Date: Thu, 22 Feb 2007 21:22:26 -0500
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.
Oh, and later in the program, when this same sheet needs to be
displayed, it comes up fine, of course.
What am I overlooking?
Thanks in advance!
***** Paul *****
email@hidden
email@hidden
ICQ #11034669
-----
### Web Humour ###
"Age is a very high price to pay for maturity."
_______________________________________________
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