Top "Nsoperation" questions

The NSOperation class is an abstract class you use to encapsulate the code and data associated with a single task

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
Wait until swift for loop with asynchronous network requests finishes executing

I would like a for in loop to send off a bunch of network requests to firebase, then pass the …

swift asynchronous grand-central-dispatch nsoperation
Get notification when NSOperationQueue finishes all tasks

NSOperationQueue has waitUntilAllOperationsAreFinished, but I don't want to wait synchronously for it. I just want to hide progress indicator in …

iphone asynchronous queue notifications nsoperation
NSOperation on the iPhone

I've been looking for some concrete scenarios for when NSOperation on the iPhone is an ideal tool to use in …

iphone objective-c cocoa-touch multithreading nsoperation
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
CoreAnimation warning deleted thread with uncommitted CATransaction

I am having issues with the following warning: CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in …

multithreading core-animation nsoperation catransaction
How To Download Multiple Files Sequentially using NSURLSession downloadTask in Swift

I have an app that has to download multiple large files. I want it to download each file one by …

ios swift multithreading nsurlsession nsoperation
Asynchronous NSURLConnection with NSOperation

I want to do NSURLConnection in background mode,because it response is having much data.Forums are telling to use …

objective-c ios nsurlconnection nsoperation 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