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: Douglas Davidson <email@hidden>
- Date: Fri, 20 Jul 2007 14:30:47 -0700
On Jul 20, 2007, at 2:20 PM, Chase wrote:
to clarify...
before, i was doing:
NSLog(@"%@", myattributedstring);
... which was throwing an exception.
then i changed it to:
NSLog(@"%@", [myattributedstring string]);
... which runs and prints the string, but not with attributes.
The behavior should be that NSLog(myattributedstring) raises, but
NSLog(@"%@", myattributedstring) succeeds. I just tried it myself
and that is the result that I got. If you're seeing something else,
please provide instructions to reproduce.
Douglas Davidson
_______________________________________________
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