• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTableView question (odd / even row colors)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >NSTableView question (odd / even row colors) (From: Hannes Friederich <email@hidden>)

  • Prev by Date: Re: NSTableView question (odd / even row colors)
  • Next by Date: Re: NSTableView question (odd / even row colors)
  • Previous by thread: Re: NSTableView question (odd / even row colors)
  • Next by thread: Re: NSTableView question (odd / even row colors)
  • Index(es):
    • Date
    • Thread