• 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 not called
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: awakeFromNib not called


  • Subject: Re: awakeFromNib not called
  • From: Kirt Cathey <email@hidden>
  • Date: Thu, 6 Oct 2005 15:01:21 +0900

Paul,
 There may not be enough information here to answer the question. If this is
a document application, are you calling (or 'awakening') the foo.nib from
MyDocument, MainMenu or somewhere else? awakeFromNib will not get called
until a related resource that the class owns gets called. Or, that is the
way that I understand it from self-teaching. Anybody correct me if I am
wrong.... or add more information, because I have wracked my brains over
this one in the past too. Aaron Hillegass' book outlines first responder
very well and should clear this up.
 Regards,
Kirt

 On 10/6/05, Paul J. Lucas <email@hidden> wrote:
>
> So I have a NIB file Foo.nib and a corresponding class Foo
> derived from NSObject defined in the files Foo.h and Foo.mm<http://Foo.mm>
> (for Objective C++).
>
> If I put a breakpoint in the awakeFromNib method, it never gets
> called. The init method of Foo does, however.
>
> Any idea why my awakeFromNib isn't being called?
>
> - Paul
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>



--
Kirt Cathey
WorkPapers Development
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: awakeFromNib not called
      • From: "Paul J. Lucas" <email@hidden>
References: 
 >awakeFromNib not called (From: "Paul J. Lucas" <email@hidden>)

  • Prev by Date: Re: Problems with objects getting crossed
  • Next by Date: Re: awakeFromNib not called
  • Previous by thread: awakeFromNib not called
  • Next by thread: Re: awakeFromNib not called
  • Index(es):
    • Date
    • Thread