• 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: Color entire table view row
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Color entire table view row


  • Subject: Re: Color entire table view row
  • From: Ondra Cada <email@hidden>
  • Date: Fri, 5 Apr 2002 02:02:51 +0200

On Friday, April 5, 2002, at 01:44 , Erik J. Barzeski wrote:

Quick question: what's the best way to quickly color a table row (it's all
text)? Obviously I could do it all with attributed strings, but I'm
looking
for something that simply works with NSStrings (and NSNumber, and so on)
.

Set the cell attributes appropriately in the
tableView:willDisplayCell:forTableColumn:row: delegate method.

May as well set the to attributed and color THEM if I'm gonna have to worry
about that. I'll pass. Thanks anyway.

So what was you searching for? An IB inspector where you would for a column set a word and an appropriate colour in a well? This is pretty simple!
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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: Color entire table view row
      • From: "Erik J. Barzeski" <email@hidden>
References: 
 >Re: Color entire table view row (From: "Erik J. Barzeski" <email@hidden>)

  • Prev by Date: Re: Toplevel Objects in NIB files
  • Next by Date: Re: Color entire table view row
  • Previous by thread: Re: Color entire table view row
  • Next by thread: Re: Color entire table view row
  • Index(es):
    • Date
    • Thread