On Wed, Jul 1, 2009 at 9:26 AM, Peter Zegelin<pe...@fracturedsoftware.com> wrote: > I need to draw the background of a single row in a tableview. This > row is not the selected row, and it changes often. I have more or less got > it working but it seems like a bit of a hack so I'm wondering if there is a > better way. I've also checked various examples but most want to draw the > selected rows differently, not an arbitrary row.
Subclass NSTableView and implement your special drawing in - (void)drawBackgroundInClipRect:(NSRect)clipRect. /Dado _______________________________________________ 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