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 we can execute some code when app is in background?
What is id in ios?
What is application lifecycle in ios?
Explain about iphone application development?
What is view controller xcode?
What is shared instance in ios?
What is category and class extension? How these differ?
Explain keywords alloc and new?
Will iphone 5s get ios 13?
What does exc_bad_access mean?
What manual memory management?
How are non-atomic and atomic properties different?
How to parse xml?
What is meant by delegate in ios?
What is managed object context and what are its functions?