I have a connection to server , and i want to release its queue, i don’t now how.
[NSURLConnection
sendAsynchronousRequest:request
queue:[[NSOperationQueue alloc] init]
completionHandler:^(NSURLResponse *response,
NSData *data,
NSError *error)
//some if else statements
}];
i dont get how to release this queue argument between 2 connections ?
If you are using ARC, you do not have to do anything.
If not, you can include
autorelease.