Re: Trying to understand -awakeFromNib problem
Re: Trying to understand -awakeFromNib problem
- Subject: Re: Trying to understand -awakeFromNib problem
- From: Jim Correia <email@hidden>
- Date: Sun, 25 Oct 2009 11:53:05 -0400
On Oct 25, 2009, at 7:53 AM, Graham Cox wrote:
Then, running on 10.5.(8) I stared to get an error that the object
<new class derived from new base class> did not respond to -
awakeFromNib. I'd not previously seen this error until I refactored
my code. Sure enough my new base class and its new fork don't
implement awakeFromNib because they don't need to. On 10.6 there is
no error. On 10.5.8 I get the error, suggesting that 10.6 first
checks whether -awakeFromNib is implemented and 10.5 does not.
Do your controller subclasses send [super awakeFromNib]?
NSObject implements -awakeFromNib on 10.6 and later (but not
previously.)
- Jim
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden