I need to know that When does a NSOperationQueue
remove an operation from the queue?
I have NSOperationQueue
which has list of NSOperation
. At which point the NSOperationQueue
removes an operation from queue?
Because I need a notification when all the operations in NSOPerationqueue
are finished. For this I referred this link
According to Apple Developer Reference
An operation queue executes its queued NSOperation objects based on their priority and readiness. After being added to an operation queue, an operation remains in its queue until it reports that it is finished with its task.
So, NSOperationQueue
removes an operation after it has been finished.