sul seguente codice in cui viene visualizzato il messaggio errato: La conversione implicita di "int" in "NSNumber *" non è consentita con ARC.iOS La conversione implicita di int in NSNumber non è consentita con ARC
Cosa sto facendo male?
<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>
Grazie per qualsiasi aiuto o suggerimento!
saluti, Daniel
Grazie! È stato risolto. – Raja