Re: how to print attributed strings to output (using NSLog? or otherwise)
Re: how to print attributed strings to output (using NSLog? or otherwise)
- Subject: Re: how to print attributed strings to output (using NSLog? or otherwise)
- From: John Stiles <email@hidden>
- Date: Fri, 20 Jul 2007 11:31:15 -0700
NSLog( @"%@", [myAttrString string] );
On Jul 20, 2007, at 11:26 AM, Chase wrote:
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:
40blizzard.com
This email sent to email@hidden
_______________________________________________
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