I’m trying to do this:
NSString *responseDataString = [[NSString alloc] initWithData:responseData encoding:NSASCIIStringEncoding];
but in ARC, I can’t use [NSString alloc]. I do not want to disable ARC for this file, so is there a way to do the same thing in ARC with other methods?
allocworks just fine under ARC. The code you’ve written should be OK. Why do you think it’s not working?