iPhone, change color to each letter

Posted by Paul on Stack Overflow See other posts from Stack Overflow or by Paul
Published on 2010-04-14T12:19:17Z Indexed on 2010/04/14 12:23 UTC
Read the original article Hit count: 223

Filed under:
|

It is possible to change a NSString color by letter?

For example, if you have NSString *A=@"ASDFGH";

show in UILabel ASD with red and FGH with blue.

And another question.. If I have a NSString, can I access the letter I want? For example, in NSString *A=@"ASDFGH"; how can I know what is the second letter which is S, or the third, which is D?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about SDK