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

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


References: 
 >windowDidLoad doesn't run (From: Paul <email@hidden>)

  • Prev by Date: Loading .nib files from plugins (NSBundle)
  • Next by Date: Re: Core Data bound to NSPopUpButton
  • Previous by thread: windowDidLoad doesn't run
  • Next by thread: Loading .nib files from plugins (NSBundle)
  • Index(es):
    • Date
    • Thread