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: Andrew Farmer <email@hidden>
- Date: Fri, 20 Jul 2007 15:08:02 -0700
On 20 Jul 07, at 13:25, Chase wrote:
That keeps the app from throwing an error and it does print the
text, but it strips off the attributes. I'm trying to figure out
how to print it **with** the attributes.
In other words, I want to see the text printed in red in the xcode
output window. I know it's possible, because I've seen red output
before.... I just can't remember what I called or did that caused
red text to be printed there. Although, whatever it was, it may
have been just using ncurses, which doesn't help me. I need to
ensure that the attributes are getting set properly on these
various attributed strings **before** building the UI that will
eventually display them.
XCode will occasionally display red text in the output window, but
it's reserved for certain text which is generated internally
("application terminated", primarily). There is no way to format
console output from your application. I don't believe that XCode even
interprets terminal escape codes.
_______________________________________________
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