• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how to print attributed strings to output (using NSLog? or otherwise)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >how to print attributed strings to output (using NSLog? or otherwise) (From: "Chase" <email@hidden>)

  • Prev by Date: how to print attributed strings to output (using NSLog? or otherwise)
  • Next by Date: Re: set modification date of symlink
  • Previous by thread: how to print attributed strings to output (using NSLog? or otherwise)
  • Next by thread: Re: how to print attributed strings to output (using NSLog? or otherwise)
  • Index(es):
    • Date
    • Thread