¡@

Home 

2014/10/15 ¤U¤È 10:10:42

iphone Programming Glossary: json4

Im getting this error 'autorelease' is unavailable: not available in automatic reference counting mode

http://stackoverflow.com/questions/6363566/im-getting-this-error-autorelease-is-unavailable-not-available-in-automatic-r

NSString alloc initWithData cData2 encoding NSUTF8StringEncoding NSLog @ getUsersBadges called NSError error4 SBJSON json4 SBJSON new autorelease NSArray luckyNumbers json objectWithString responseString error error NSDictionary luckyNumbers4.. new autorelease NSArray luckyNumbers json objectWithString responseString error error NSDictionary luckyNumbers4 json4 objectWithString cDataString2 error error4 cDataString2 release UPDATE For anyone interested this is the correct code NSURLRequest.. NSString alloc initWithData cData2 encoding NSUTF8StringEncoding NSLog @ getUsersBadges called NSError error4 SBJSON json4 SBJSON new NSArray luckyNumbers json objectWithString responseString error error NSDictionary luckyNumbers4 json4 objectWithString..