FROM : Graham Cox
DATE : Mon May 12 13:06:14 2008
On 12 May 2008, at 8:58 pm, Graham Cox wrote:
> it's maybe more than you need and it also takes an NSColor object
> value
Oops, that came out not the way I intended it - I meant that you'll
need to do more than this code does for your case - i.e. displaying
two (or more?) colours in a cell, but this might point the way. When
your table asks for the object value for the table row/column, you
could supply an array of NSColors, and the cell would be programmed to
understand that and display it appropriately.
G.
DATE : Mon May 12 13:06:14 2008
On 12 May 2008, at 8:58 pm, Graham Cox wrote:
> it's maybe more than you need and it also takes an NSColor object
> value
Oops, that came out not the way I intended it - I meant that you'll
need to do more than this code does for your case - i.e. displaying
two (or more?) colours in a cell, but this might point the way. When
your table asks for the object value for the table row/column, you
could supply an array of NSColors, and the cell would be programmed to
understand that and display it appropriately.
G.
| Related mails | Author | Date |
|---|---|---|
| Yann Disser | May 12, 11:27 | |
| Graham Cox | May 12, 12:58 | |
| Graham Cox | May 12, 13:06 |






Cocoa mail archive

