Re: Custom NSTableRowView Question
Re: Custom NSTableRowView Question
- Subject: Re: Custom NSTableRowView Question
- From: Uli Kusterer <email@hidden>
- Date: Mon, 20 Oct 2014 20:50:22 -0400
On 20 Oct 2014, at 12:08, Luther Baker <email@hidden> wrote:
> I tried setting it in the init'r but it is getting overwritten. I can
> intercept the calls to [NSTableRowView setBackgroundColor:] and override
> the color but before doing that, I'd like to better understand why the
> color is being set by something else ... and then maybe work within that
> architecture.
FWIW, I usually implement the didAddRowView:forRow: delegate method and set the color from there. That seems to work.
Cheers,
-- Uli Kusterer
“The Witnesses of TeachText are everywhere...”
http://zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden