Question: what is nsoperation and nsoperationqueue?
Answer: NSOperationQueue regulates the concurrent execution of operations. It acts as a priority queue, such that operations are executed in a roughly First-In-First-Out manner, with higher-priority ( NSOperation. queuePriority ) ones getting to jump ahead of lower-priority ones.