how to print attributed strings to output (using NSLog? or otherwise)
how to print attributed strings to output (using NSLog? or otherwise)
- Subject: how to print attributed strings to output (using NSLog? or otherwise)
- From: "Chase" <email@hidden>
- Date: Fri, 20 Jul 2007 18:26:03 +0000
if I create an attributed string and set its color to red, how can i
print this into the output pane in xcode?
i tried using NSLog(), but i get the following error at runtime:
2007-07-20 13:11:10.527 TestApp[418] *** -[NSConcreteAttributedString
_encodingCantBeStoredInEightBitCFString]: selector not recognized [self
= 0x3a4940]
2007-07-20 13:11:10.527 TestApp[418] Exception raised during posting of
notification. Ignored. exception: *** -[NSConcreteAttributedString
_encodingCantBeStoredInEightBitCFString]: selector not recognized [self
= 0x3a4940]
isn't there some way to do this?
thanks.
- chase
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden