• 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, bindings, and a background color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView, bindings, and a background color


  • Subject: Re: NSTableView, bindings, and a background color
  • From: Adam Knight <email@hidden>
  • Date: Thu, 18 Aug 2005 15:04:58 -0500

I presume no one has an answer?

On Aug 13, 2005, at 10:30 AM, Adam Knight wrote:

I have an object with a foreground and background color. I want to display this in an NSTextView, using bindings, and have the row's fore- and background colors set appropriately. There is a textColor binding, but nothing for the row's background.

So, what crazy tricks do I have to set the row's background color? Subclass the array controller and the table delegates within? Add a binding somewhere and use it?

Of course, to be blunt, which is the least amount of work and the most likely to still work in the future? :)


Adam Knight
will bug code for food
http://www.codepoetry.net/
I ♥ my 



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSTableView, bindings, and a background color
      • From: Scott Ellsworth <email@hidden>
References: 
 >NSTableView, bindings, and a background color (From: Adam Knight <email@hidden>)

  • Prev by Date: Re: [NSColor clearColor] and NSBezierPath: not compatible?
  • Next by Date: Re: Best way to display dictionary in a table
  • Previous by thread: NSTableView, bindings, and a background color
  • Next by thread: Re: NSTableView, bindings, and a background color
  • Index(es):
    • Date
    • Thread