iphone - Difference between Dispatch Queue and NSOperationQueue -


i new gcd , threading. have gone through tutorials , getting confusion. can 1 explain in simple words.please don't suggest apple developer links..

thanks in advance !

nsoperationqueue can more suitable long-running operations may need cancelled or have complex dependencies. gcd dispatch queues better short tasks should have minimum performance , memory overhead.

it possible cancel operations have been enqueued in nsoperationqueue (as far operations support it). when enqueue block in gcd dispatch queue, executed @ point.

check below link,it may helpful you.

operation queue vs dispatch queue ios application


Comments