How can we use NSOperation queue? what is the advantage of using it ?
Answer Posted / 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 View All Answers
How to parse json?
What is App Bundle in iOS operating system?
What is the concurrency how many ways you know to achieve concurrency?
Explain how you can migrate to Xcode?
What is @dynamic in objective-c ?
Find the letter count in UItextfield? Including first character?
Can I have relationship between entities in separate stores (in case of configurations)?
Compare and contrast the different ways of achieving concurrency in os x and ios.
What is difference between category and extension in ios?
What is memory management handled on ios?
What is ios appdelegate?
What is a delegate xcode?
What is gcd ios?
How to send your device id to an iphone developer?
What are delegates in ios swift?