• 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: init code in ApplicationNotifications/awakeFromNib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: init code in ApplicationNotifications/awakeFromNib


  • Subject: Re: init code in ApplicationNotifications/awakeFromNib
  • From: Robert Tillyard <email@hidden>
  • Date: Wed, 18 Sep 2002 00:46:35 +0100

My mistake, the calculator example does work but my application uses MyController not Controller, so I've changed that and I have an +initialize but I don't seem to get a call to applicationDidFinishLaunching.

Rob.

On Tuesday, September 17, 2002, at 11:02 pm, Robert Tillyard wrote:

I have an application with two NIB's and I appear to get an
awakeFromNib twice once when MainMenu.nib loads and again when my
AboutPanel.nib loads.

I have some initialisation I want to do when the application is up and
awakeFromNib does it twice so in Chapter 7 (page 231) of the Simson
Garfinkel & Michael Mahoney book there is what looks like a solution to
use applicationDidFinishLaunching.

The example says put this in Controller.m

...

Regards. Rob.
_______________________________________________
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.

References: 
 >init code in ApplicationNotifications/awakeFromNib (From: Robert Tillyard <email@hidden>)

  • Prev by Date: NSMovieView, NSMovie & Quicktime framework
  • Next by Date: Re: Undo/redo in sheets?
  • Previous by thread: init code in ApplicationNotifications/awakeFromNib
  • Next by thread: Re: init code in ApplicationNotifications/awakeFromNib
  • Index(es):
    • Date
    • Thread