What is use of nsoperation? How nsoperationque works?



What is use of nsoperation? How nsoperationque works?..

Answer / Devendra Giri

NSOperation in Apple iOS is a base class for objects that perform a unit of work. It allows you to run multiple tasks concurrently, manage task dependencies and handle priority levels. NSOperationQueue is a thread-safe object pool for operations. You can add an operation to the queue, and the queue will schedule it for execution when appropriate based on priorities and availability.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

What are moments and collections?

1 Answers  


Explain xctest test case code.

1 Answers  


What is the use of 'dynamic' keyword?

1 Answers  


Explain differentiate between release and pool drain?

1 Answers  


What is nsmanagedobjectcontext? What are the different concurrency types?

1 Answers  


Explain the significance of autorelease?

1 Answers  


Does iOs supports multitasking?

1 Answers  


What is a serial queue?

1 Answers  


Explain Appstore uploading process

1 Answers  


Describe the functionality of accelerometer of an iphone ?

1 Answers  


What is difference between mvc and mvvm in ios?

1 Answers  


What is core data stack?

1 Answers  


Categories