Re: Subclassing NSSearchFieldCell
Re: Subclassing NSSearchFieldCell
- Subject: Re: Subclassing NSSearchFieldCell
- From: Hamish Allan <email@hidden>
- Date: Wed, 2 Nov 2005 18:18:24 +0000
On 2 Nov 2005, at 18:02, Stefan Fisk wrote:
Is it legal to call the super class's +initialize?
Oh. Apparently not. Thanks!
Anyways, I've tried +setCellClass: both from AnimatedSearchField's
+initialize, and from the window controllers, and on both
AnimatedSearchField and NSSearchField. AnimatedSearchField's
+allocWithZone: is being called, as is +cellClass, so why on earth
it insists on using NSSearchFieldCell is above and beyond my
comprehension.
How about calling +setCellClass: from -[AnimatedSearchField's
awakeFromNib]?
Cheers,
Hamish
_______________________________________________
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