• 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 01:06:55 +0100

Thank you, that was my mistake, I didn't make Controller my app delegate.


On Wednesday, September 18, 2002, at 12:47 am, Matt Neuburg wrote:

On Tue, 17 Sep 2002 23:02:12 +0100, Robert Tillyard <email@hidden>
said:

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.

That's interesting but since you don't talk about that any further in your
note it's impossible to help you.


...

I assume if you add two nib's to your application and call loadNibNamed it will do that, I've probably made some kind of linkage to MyController, I'm pretty new at this and copied the example for a customised AboutPanel.nib from the book.


(1) You don't need anything of the sort in Controller.h. The book is wrong
to make you do that. (I believe I can show that it makes errors at the rate
of approximately one per page, many of them very serious.)

I also have the Aaron Hillegass and the O'Reilly/ADC Learning Coca books, maybe I should read them first!

(2) You won't get any app delegate messages unless, presumably in IB,
you've made Controller your app delegate. Have you?

m.
--
_______________________________________________
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: init code in ApplicationNotifications/awakeFromNib
      • From: Ondra Cada <email@hidden>
References: 
 >Re: init code in ApplicationNotifications/awakeFromNib (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: Undo/redo in sheets?
  • Next by Date: Non user-selectable NSMixedState
  • Previous by thread: Re: init code in ApplicationNotifications/awakeFromNib
  • Next by thread: Re: init code in ApplicationNotifications/awakeFromNib
  • Index(es):
    • Date
    • Thread