Re: A couple of NSTable questions
Re: A couple of NSTable questions
- Subject: Re: A couple of NSTable questions
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 30 Jul 2003 16:22:57 +0200
Le mercredi, 30 juil 2003, ` 16:17 Europe/Paris, Mike Brinkman a icrit :
Next objective I wanted to do was to make any appointments ending
within 7
days to show up in red. I know that if I was just going to draw a
string in
a view, all I would do is something like this:
[...]
For instance in:
- (id)tableView:(NSTableView *)aTableView
objectValueForTableColumn:(NSTableColumn *)aTableColumn
row:(int)rowIndex
{
}
You can return a NSAttributedString.
Or you could write a NSFormatter subclass.
_______________________________________________
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.