• 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 - Alternating blue and white background
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView - Alternating blue and white background


  • Subject: Re: NSTableView - Alternating blue and white background
  • From: "Erik J. Barzeski" <email@hidden>
  • Date: Tue, 17 Dec 2002 10:04:34 -0500

On 12/17/02 9:09am, "email@hidden"
<email@hidden> wrote:
> One solution is described in some Mac Tech articles written by Dan
> Wood. The code is available on his web site and IIRC, if you search the
> archive you should find a post indicating the URL of the source codes.

Unfortunately, this method is subject to rounding errors, so if you expect
to have a few hundred (or more) rows in the table view, eventually the
colors won't line up. You'll have a line that's half blue, half white, etc.

Overriding the table cell drawing method is what we had to use in MailDrop.


--
Best wishes,
Erik J. Barzeski

Rules? We don't have rules. We're trying to accomplish something!
###################################################################
Email: erik@(anything below) AIM: iacas

http://iacas.org http://weims.net
http://techstra.net http://barzeski.com
http://cocoadevcentral.com http://soundsetcentral.com
http://freshlysqueezedsoftware.com http://applescriptcentral.com
###################################################################
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSTableView - Alternating blue and white background
      • From: Stéphane Sudre <email@hidden>
  • Prev by Date: Re: Help me please to find a job in Cocoa
  • Next by Date: Re: Breaking
  • Previous by thread: Re: NSTableView - Alternating blue and white background
  • Next by thread: Re: NSTableView - Alternating blue and white background
  • Index(es):
    • Date
    • Thread