キー「name」と数値「George's iPhone」および「123456」の辞書を作成したいと考えています。
私のコードは次のとおりです。
NSString *name = @"George’s iPhone";
NSMutableDictionary *dict = [[NSMutableDictionary alloc]init];
[dict setValue:@"123456" forKey:@"number"];
[dict setValue:name forKey:@"name"];
しかし、私は得た、
name = "George\U2019s iPhone";
value = "123456";