I am new in NSOperationQueue, I need to call web-service in background process using NSOperationQueue, how to do that, please help me. I have spend more time for this.
Thanks in Advance
I am new in NSOperationQueue, I need to call web-service in background process using NSOperationQueue, how to do that, please help me. I have spend more time for this.
Thanks in Advance
There are some good tutorials and guides on the topic, even in the apple documentation. Use the search function more, or you'll get a lot of downvotes for asking trivial questions.
For the OperationQueue-Part try
NSOperationQueue *q = [[NSOperationQueue alloc] initWithBlock:^{
//your code here
//and here ;)
}];
It will start automatically. For more on OperationQueues, look at the docs: https://developer.apple.com/library/mac/#documentation/cocoa/Reference/NSOperationQueue_class/Reference/Reference.html