Re: Change the text color in an NSTableView based on the data in the row

2009-09-07 Thread Bryan Zarnett
Thanks Graham, I did the following and it worked fine: NSNumber *isClosed = [[[activityController arrangedObjects] objectAtIndex: row] valueForKey: @"isClosed"]; Cheers! On 7-Sep-09, at 12:34 AM, Graham Cox wrote: On 07/09/2009, at 9:40 AM, Bryan Zarnett wrote: I would like to set the

Re: Change the text color in an NSTableView based on the data in the row

2009-09-06 Thread Graham Cox
On 07/09/2009, at 9:40 AM, Bryan Zarnett wrote: I would like to set the text color of the cell in an NSTableView based on a particular set of data in the table of in the associated array controller. I currently have the basic code for the coloring changing working right now in "willDisplay

Change the text color in an NSTableView based on the data in the row

2009-09-06 Thread Bryan Zarnett
I would like to set the text color of the cell in an NSTableView based on a particular set of data in the table of in the associated array controller. I currently have the basic code for the coloring changing working right now in "willDisplayCell". What I am not sure about is how to (1) ret