• 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
characterAtIndex: method and composite characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

characterAtIndex: method and composite characters


  • Subject: characterAtIndex: method and composite characters
  • From: "Ewan Delanoy" <email@hidden>
  • Date: Wed, 4 Apr 2007 17:05:27 +0200 (CEST)
  • Importance: Normal

Hello all,

 even after browsing NSString.h and part of the documentation, I'm not
sure about
the answer to the following questions :

 -when an NSString or
NSAttributedString (let's call it s) appears on-screen as, say, "(a with
tilda)(other characters ...)" is
it guaranteed that  [s characterAtIndex: 0] will be "a with tilda", and
not "a" (with "tilda" for a second
character) ?

 -If this is not the case, I need a more accurate version of
"characterAtIndex:". Is this already
built-in ?

                                                                                 TIA,

                                                                                         Ewan


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

  • Follow-Ups:
    • Re: characterAtIndex: method and composite characters
      • From: Douglas Davidson <email@hidden>
    • Re: characterAtIndex: method and composite characters
      • From: Greg Titus <email@hidden>
  • Prev by Date: Re: Bindings + contents of an array. No dice, for newb.
  • Next by Date: Re: characterAtIndex: method and composite characters
  • Previous by thread: Simulate UpArrowKey with 8-key
  • Next by thread: Re: characterAtIndex: method and composite characters
  • Index(es):
    • Date
    • Thread