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 ;-)
I guess I should mention why it is easier to subclass the
NSTextFieldCell; it gives you "free" stuff, like auto expansion tool
tips, and in-place editing, simply by overriding a few methods and
calling super with appropriate rects. The PhotoSearch demo on the
developer site is a good example; it draws editable text, a preview
icon, and uneditable sub-title text. (Plus, I like pushing my demos :)
corbin
_______________________________________________
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