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
What is race condition in ios?
DB updation when app new version comes ?
In which language is ios written?
Explain me what is arc? How it works?
Do you know what are layer objects and what do they represent?
In nsfetchrequest can we fetch only a selective few attributes of an entity? How?
What are “strong” and “weak” references? Why are they important and how can they be used to help control memory management and avoid memory leaks?
Explain how app delegate is declared by Xcode project templates?
What are ios apps written in?
Explain how you can add frameworks in Xcode project?
What is nsuserdefaults?
What devices will support ios 7?
What is the difference between delegates and notifications in iOS operating system?
What is the concurrency how many ways you know to achieve concurrency?
When would you say that an app is not in a running state?