• 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
Control characters in an NSAttributed string?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Control characters in an NSAttributed string?


  • Subject: Control characters in an NSAttributed string?
  • From: Mark Ogilvie <email@hidden>
  • Date: Thu, 22 May 2003 14:54:05 -0400

I may be mis-understanding this, but does an NSAttributed string have
similiar controls to a regular c style string? In a c style string \n
will be a new line, but I haven't found anything in the NSAttributed
string documentation that mentions that, though there is a note in the
NXText documentation that gives a hexidecimal code for a new line.
If I create a NSAtrributed string from an NSString, are the control
characters(tab, newline) preserved or converted and is there a way to
access them? I was trying to write a routine to count the number of
lines in an RFT document and I'm a bit confused.

Thanks

Mark

http://members.ttlc.net/~mso/WebPage1.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Control characters in an NSAttributed string?
      • From: Just van Rossum <email@hidden>
    • Re: Control characters in an NSAttributed string?
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: a Drawer's parent
  • Next by Date: Re: Cocoa newbie question
  • Previous by thread: Re: a Drawer's parent
  • Next by thread: Re: Control characters in an NSAttributed string?
  • Index(es):
    • Date
    • Thread