Re: NSTableView text color question
Re: NSTableView text color question
- Subject: Re: NSTableView text color question
- From: mmalcolm crawford <email@hidden>
- Date: Wed, 1 Oct 2003 17:57:09 -0700
On Oct 1, 2003, at 5:18 AM, Mike Brinkman wrote:
Somehow, I need to be able to tell the table view "if field x in row y
is less than z, then make the text red."
You mentioned initially that this is a learning exercise; you might
consider implementing this functionality using a formatter instead of
using the table view delegate method...
<
http://developer.apple.com/documentation/Cocoa/Conceptual/
DataFormatting/Tasks/CreatingACustomFormatter.html>
In particular "attributedStringForObjectValue:withDefaultAttributes:".
mmalc
_______________________________________________
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.