Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView, bindings, and a background color



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? :)

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.