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 |
What is singleton design pattern in ios?
Garbage collector in iphone?
What is a protocol in objective-c programming language?
Explain what is struct?
Explain How to access document directory
Explain collections in iOS
What is the purpose of UIWindow object?
What is core data?
What is latest ios version?
Why do all model object attributes get marked with @dynamic and not synthesised? What does @dynamic mean?
What is synchronous web request and asynchronous ?
Difference between retain and assign ?