Skip navigation.
 
mlcharacterAtIndex: method and composite characters
FROM : Ewan Delanoy
DATE : Wed Apr 04 17:05:27 2007

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