• 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
awakeFromNib and windowWillLoad : basic question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

awakeFromNib and windowWillLoad : basic question


  • Subject: awakeFromNib and windowWillLoad : basic question
  • From: jean Bousquet <email@hidden>
  • Date: Thu, 03 Jul 2003 17:48:08 +0200

Hello,
Here a basic question from a newbie to understand when awakeFromNib and
windowWillLoad are triggered.
In the mainMenu.nib is a window which is the main window of the appli. In
its windowController subclass I wrote the 2 methods :
-(void)awakeFromNib
{
NSLog(@"awakeFromNib");
}

-(void)windowDidLoad
{
NSLog(@"windowDidLoad");
}

just to see when these methods are triggered.
awakeFromNib is triggered at launch time which seems normal but
windowDidLoad is never triggered although the window is correctly displayed
on screen at launch time.
Did you think I made some thing wrong or is it normal windowWillLoad is not
triggered in this situation ? Facing the last case I browsed the doc but
could not understand why windowWillLoad is not invoked.
May be some body could help ?
Thanks
Jean
_______________________________________________
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.

  • Follow-Ups:
    • Re: awakeFromNib and windowWillLoad : basic question
      • From: Chris Hanson <email@hidden>
    • Re: awakeFromNib and windowWillLoad : basic question
      • From: Ben Dougall <email@hidden>
  • Prev by Date: Capture screen when full screen OpenGL application running
  • Next by Date: Re: Strong language about Cocoa and Qt
  • Previous by thread: Re: Capture screen when full screen OpenGL application running
  • Next by thread: Re: awakeFromNib and windowWillLoad : basic question
  • Index(es):
    • Date
    • Thread