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

Re: awakeFromNib and windowWillLoad : basic question


  • Subject: Re: awakeFromNib and windowWillLoad : basic question
  • From: Ben Dougall <email@hidden>
  • Date: Fri, 4 Jul 2003 00:34:39 +0100

could this because awakeFromNib and windowDidLoad are both used to do the same thing? what i mean is, that you use one or the other - they're 2 of the same kind? i'm making a complete guess seeing as no one else has answered.


On Thursday, July 3, 2003, at 04:48 pm, jean Bousquet wrote:

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.
_______________________________________________
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: jean Bousquet <email@hidden>
References: 
 >awakeFromNib and windowWillLoad : basic question (From: jean Bousquet <email@hidden>)

  • Prev by Date: Re: Where to rant? Re: [OT] Re: EOF undead?
  • Next by Date: Re: double to NSString
  • Previous by thread: awakeFromNib and windowWillLoad : basic question
  • Next by thread: Re: awakeFromNib and windowWillLoad : basic question
  • Index(es):
    • Date
    • Thread