ASIHTTPRequest / ASIFormDataRequest - referencing request object within blocks under ARC
Very similar to this question , I am trying to convert a project that uses ASIHTTPRequest & ASIFormDataRequest to ARC. In my view controller classes, I often refer to and use properties of the request object in the completion blocks (looking at the response code, response data etc): __block ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:[NSURL URLWithString:SOME_URL]]; [request setCompletionBlock:^{ if([request responseStatusCode] == 200) ....etc When converting to ARC I get the warning: Capturing 'request' strongly in this block is likely to lead to a retain cycle What is