//nsstring to unichar
NSString *str1 = @"가";
unichar uniChar;
[str1 getCharacters:&uniChar];
NSLog(@"%zd",uniChar);
//unichar to nsstring
NSString *str2 = [NSString stringWithCharacters:&uniChar length:1];
NSLog(@"결과: %@", str2);//r
//nsstring to unichar
NSString *str1 = @"가";
unichar uniChar;
[str1 getCharacters:&uniChar];
NSLog(@"%zd",uniChar);
//unichar to nsstring
NSString *str2 = [NSString stringWithCharacters:&uniChar length:1];
NSLog(@"결과: %@", str2);//r