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

“BgTask “ ? how long execute?

1 Answers  


Explain interfaces?

0 Answers  


How to hide images in ios?

0 Answers  


what is Xcode command line tools package?

0 Answers  


Explain the difference between viewdidload and viewdidappear?

0 Answers  


What is uitableviewdatasource?

0 Answers  


what is the difference between nonatomic & atomic ? which is thread safe and why

0 Answers  


. Why an app on iOS device behaves differently when running in foreground than in background? 

1 Answers  


What is @synthesize in objective-c ?

0 Answers  


What is view controller xcode?

0 Answers  


what is the method for preventing the quicktime player from capturing streaming videos of ios 8 apps on yosemite while screen recording is on?

0 Answers  


Multitasking support is available from which version in iOS operating system?

0 Answers   TryTechnicals Pvt Ltd,


Categories