Re: Displaying a table entry in Bold
Re: Displaying a table entry in Bold
- Subject: Re: Displaying a table entry in Bold
- From: email@hidden
- Date: Fri, 19 Apr 2002 22:05:44 +0200
On vendredi, avril 19, 2002, at 09:28 , Ondra Cada wrote:
Actually, to be really independent you would have to check whether
there is a formatter and, if so, use it to translate the "string" of
yours to real string. Even without a formatter this won't work properly
eg. if the objectValueForTableColumn:row: happens to be say an
NSNumber, which is quite possible generally.
The proper way to do that (in cases like this when you want the whole
cell'
s format to be unique) is not to play with attributed strings at all,
and just to set cell's attributes directly. Then let it to display the
data itself: why to re-write an already existing code?
Is it faster?
_______________________________________________
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.