objective c - releasing a NSURLConnection? -
i have connection server , , want release queue, don't how.
[nsurlconnection sendasynchronousrequest:request queue:[[nsoperationqueue alloc] init] completionhandler:^(nsurlresponse *response, nsdata *data, nserror *error) //some if else statements }]; i dont how release queue argument between 2 connections ?
if using arc, not have anything.
if not, can include autorelease.
objective-c
No comments:
Post a Comment