Great - thanks a lot for clearing that up. Let's just say the docs (including the guide) leave a little to be desired in terms of explaining how this works.

Please log a documentation bug requesting it to be clarified; this is good feedback, and we can make our docs better with proper bug reports.



If you want to draw text, then it is generally better/easier to subclass NSTextFieldCell. I think it is a known issue that bindings don't work with a plain NSCell subclass --- again, please log a bug for this issue and we can investigate.


Will do.

I'm going to subclass NSTextFieldCell for now. I'll be drawing various bits of text and probably an icon. It's probably a bit of a stretch to say my derived cell is really a "text cell", which is why I thought to directly subclass NSCell, but it's good enough for now - and I'm too lazy to add appropriate bindings support to a directly NSCell-derived subclass ;-)

-- lwe


_______________________________________________

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