Re: NSTableView question (odd / even row colors)
Re: NSTableView question (odd / even row colors)
- Subject: Re: NSTableView question (odd / even row colors)
- From: Dave Thorup <email@hidden>
- Date: Wed, 11 Jun 2003 16:58:47 -0600
On 6/11/03 3:17 PM, "Hannes Friederich" <email@hidden> wrote:
>
I fear that I have to subclass NSTableView, but that seems like a lot of work
>
and a ugly hack to me. Is there any other solution for this problem?
Don't worry, the best way to do this is to subclass NSTableView and it's
neither a lot of work, nor an ugly hack.
Take a look here:
http://www.cocoadev.com/index.pl?AlternatingRowColors
It's not a very organized discussion, but if you read ALL of it then you'll
get a good implementation. Pay attention to the "...sample code on Apple's
dev site" as this provides the best way to do it.
You should also search the list archives here (this comes up a lot):
http://cocoa.mamasam.com/
____________________________________
Dave Thorup
Software Engineer
email@hidden
www.kuwan.net
Defaults Manager - The premier editor for Mac OS X's User Defaults /
Preferences database.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.