• 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: "Paul J. Lucas" <email@hidden>
  • Date: Wed, 5 Oct 2005 23:19:55 -0700 (PDT)

On Thu, 6 Oct 2005, j o a r wrote:

> Just having the same name as a nib file will not cause awakeFromNib to be
> called in instances of that class when the nib file is loaded. Read more on
> nib loading here:
>
> <http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/ObjC_classic/Protocols/NSNibAwaking.html>

	It says in part:

		Typically, you implement awakeFromNib for the
		class you associate with the "File's Owner" of
		the nib file.

	In Interface Builder (IB), I did set the destination of the
	File's Owner delegate outlet to be my class Foo.

> How are the instances of class Foo involved in your nib loading? Are they
> instantiated in your nib file, or the owner of a nib file, or what?

	Other than what I said above, I don't explicitly instantiate or
	allocate anything.

	(Yes, I'm a newbie at writing Cocoa apps.)

	- 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

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

  • Prev by Date: Re: Authorization panel
  • Next by Date: [ANN] The return of my ObjectiveC Expat wrapper - ObjectiveExpat
  • Previous by thread: Re: awakeFromNib not called
  • Next by thread: Re: awakeFromNib not called
  • Index(es):
    • Date
    • Thread