On Nov 14, 2011, at 5:05 PM, Koen van der Drift wrote:

> I'm indeed subclassing NSCell. Using NSActionCell doesn't make a difference. 
> But with NSTextFieldCell it works.

Yeah, generally you will never subclass NSCell (or NSActionCell) directly. I 
can’t remember ever doing it. Instead you subclass the concrete cell class you 
want to modify/extend.

(That’s not to say you can’t subclass them directly; but if so, I think there 
are a lot of methods you are responsible for implementing to make the cell work 
correctly.)

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to