Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
1 文字の文字列を 10 進形式で出力するにはどうすればよいですか? 文字の一意の整数を取得し、それを文字列に変換する必要があります。
NSString* letter = @"a"; // ---> to @"97"
unichar c = [letter characterAtIndex:0]; NSString *charAsNum = [NSString stringWithFormat:@"%d",c];