How can we use NSOperation queue? what is the advantage of using it ?



How can we use NSOperation queue? what is the advantage of using it ?..

Answer / babu

NSOperationQueue can be more suitable for long-running operations that may need to be cancelled or have complex dependencies. It is possibles to cancel operations that have been enqueued in an NSOperationQueue (as far as the operations support it).

NSOperationQueue gives you a lot more control over how your operations are executed. You can define dependencies between individual operations.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

What is singleton class in ios?

0 Answers  


What is mvvm in ios swift?

0 Answers  


What is uiwindow in ios?

0 Answers  


Explain parent-child context setup?

0 Answers  


What is a difference between stack and heap memory?

0 Answers  






What are ui elements and some common ways you can add them to your app?

0 Answers  


What is an ios framework?

0 Answers  


What are the skills required for ios developer?

0 Answers  


Explain which all events will perform an ios application in background

0 Answers  


What is sandbox in iOS operating system?

0 Answers   Winsol Solutions,


What is the 'implementation'?

0 Answers  


What is delegate and protocol in ios?

0 Answers  


Categories