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

. List down app's state transitions when it gets launched. 

1 Answers  


What is nsmanagedobjectcontext? What are the different concurrency types? Explain them.

0 Answers  


When to use nsmutablearray and when to use nsarray?

0 Answers  


What is ios architecture?

0 Answers  


Explain difference between coredata & sqlite?

0 Answers  






Explain me what is fast enumeration?

0 Answers  


Whats the difference between  NSArray and  NSMutableArray?

1 Answers  


Would I be able to keep in touch with some c++ work in the equivalent .m record? Will it compile? Assuming no, what changes would it be a good idea for me to do to compile it?

0 Answers  


What is thread safe?

0 Answers  


Define 'retain' keyword?

0 Answers  


What are the important delegate methods of nsxml parser?

0 Answers  


What are the steps you must follow to configure your computer and development device for iphone development?

0 Answers  


Categories