次のコードでエラーメッセージが表示されます:「int」から「NSNumber*」への暗黙の変換はARCでは許可されていません。
私が間違っているのは何ですか?
<pre>
<code>
NSDictionary *results = [jsonstring JSONValue];
NSNumber *success = [results objectForKey:@"success"]; // possible values for "success": 0 or 1
if (success == 1) { // ERROR implicit conversion of int to NSNumber disallowed with ARC
}
</code>
</pre>
ヘルプやヒントをありがとう!
よろしく、ダニエル