[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSAttributedString in table data cells
From: |
Sašo Kiselkov |
Subject: |
NSAttributedString in table data cells |
Date: |
Wed, 20 Jul 2005 10:10:00 +0200 |
User-agent: |
Internet Messaging Program (IMP) 3.2.5 |
I found that when my code returns an NSAttributedString as the value for a table
data cell it doesn't display it as an attributed string, but instead by sending
it "description" (which obviously isn't right, is it?). The problem is in the
code of NSCell's "-setObjectValue:" which doesn't know about attributed
strings. I'd recommend adding a test case there which, if passed an
NSAttributedString, invokes [self setAttributedStringValue: object];.
Regards
Saso
- NSAttributedString in table data cells,
Sašo Kiselkov <=