Search code examples
objective-cunicodeios5

Get Unicode code point for the input character - Objective C


I'm trying to translate Visual Basic code to objective C, but I can not find the solution to the VB function AscW, that returns the Unicode code point for the input character.

Any one can help me on it?

Many thanks


Solution

  • NSString has a method characterAtIndex: that returns a unichar