Re: awakeFromNib not called
Re: awakeFromNib not called
- Subject: Re: awakeFromNib not called
- From: j o a r <email@hidden>
- Date: Thu, 6 Oct 2005 08:05:20 +0200
On 6 okt 2005, at 07.51, Paul J. Lucas 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
(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?
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>
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?
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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