objective c - How to print Unicode created from string iteration in Cocoa? -


I have a loop to make code to print Unicode characters (I think I have 10-A, Etc. have not changed). My point is, after looping to create Unicode string (Japanese Hiragana in this case), how can I actually get a printable character in XCode, whenever I try to log in it or One text box value = I set it only gives me the string.

 for  (int i = 4; i <10; ++ i) {NSString * third party = [NSString stringWithFormat: @ "% d", i]; For (int p = 0; p & lt; 16; ++ p) {NSString * fourth = [NSString stringWithFormat: @ "% d", p]; NSSTING * UNICODE = @ "U30"; Unicode = [Unicode stringbapping string: third party]; Unicode = [Unicode stringbapping string: fourth]]; NSLog (@ "Unicode \% @", Unicode); Instead of trying to write the string, number code code instead of trying to write the string.  

For example, in your p loop

  unichar x = (0x3000 + 0x10 * i + p); NSString * str = [NSString StringerHector: & amp; X length: 1]; NSLog (@ "Unicode% @", str);    

Comments