• 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
windowDidLoad doesn't run
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: windowDidLoad doesn't run
      • From: mmalc crawford <email@hidden>
  • Prev by Date: Core Data bound to NSPopUpButton
  • Next by Date: Late Night Cocoa Episode Six
  • Previous by thread: Re: Core Data bound to NSPopUpButton
  • Next by thread: Re: windowDidLoad doesn't run
  • Index(es):
    • Date
    • Thread