Top "Nsoperationqueue" questions

On Mac OS X, the NSOperationQueue class regulates the execution of a set of NSOperation objects.

NSOperation vs Grand Central Dispatch

I'm learning about concurrent programming for iOS. So far I've read about NSOperation/NSOperationQueue and GCD. What are the reasons …

ios concurrency grand-central-dispatch nsoperation nsoperationqueue
NSOperation and NSOperationQueue working thread vs main thread

I have to carry out a series of download and database write operations in my app. I am using the …

ios objective-c multithreading nsoperation nsoperationqueue
How do I use NSOperationQueue with NSURLSession?

I'm trying to build a bulk image downloader, where images can be added to a queue on the fly to …

ios objective-c nsoperation nsoperationqueue nsurlsession
Difference between Dispatch Queue and NSOperationQueue

I am very new to GCD and threading. I have gone through the tutorials and getting very much confusion. Can …

iphone multithreading grand-central-dispatch nsoperationqueue nsinvocation
How to cancel NSBlockOperation

I have a long running loop I want to run in the background with an NSOperation. I'd like to use …

objective-c-blocks nsoperation nsoperationqueue
NSOperation - Forcing an operation to wait others dynamically

I am trying to implement an operation queue and I have the following scenario: NSOperation A NSOperation B NSOperation C …

objective-c ios nsthread nsoperation nsoperationqueue
Which is the best of GCD, NSThread or NSOperationQueue?

What's the best way of multithreading in iOS as we have three options GCD, NSThread, and NSOperationQueue? I am confused …

ios multithreading grand-central-dispatch nsthread nsoperationqueue
Learning NSBlockOperation

I'm a big fan of blocks, but have not used them for concurrency. After some googling, I pieced together this …

objective-c ios nsoperation nsoperationqueue nsblockoperation
How can I Pause a NSOperation in a NSOperationQueue?

I need to pause a running NSOperation which was inserted in an NSOperationQueue. Currently I am canceling all operations and …

ios macos cocoa nsoperation nsoperationqueue
OperationQueue.main vs DispatchQueue.main

When you need to perform something on the main thread in the completion block of a networking task or an …

ios swift grand-central-dispatch nsoperationqueue ui-thread