Top "Nsoperation" questions

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

Which tasks are more suitable to NSOperation than GCD?

Which tasks would be better suited to using NSOperation as opposed to using GCD when programming for the iPhone? To …

ios cocoa-touch nsoperation grand-central-dispatch
How to stop current NSOperation?

I'm using NSOperationQueue, and NSOperation for running some function on background click. But I want to be able, when user …

objective-c macos cocoa nsoperation nsoperationqueue
Can I pass delegate as a parameter objective-c

I am working with an NSOperationQueue and I want to add new NSOperations to the NSOperationQueue. It is a queue …

objective-c ios nsoperation
What is the difference between NSInvocationOperation and NSBlockOperation

There are three operation classes in Foundation Framework(NSOperation, NSInvocationOperation and NSBlockOperation). I already read the concurrency programming guide but …

iphone ios objective-c nsoperation
Drawing in a background thread on iOS

I have a view with some very complex drawing logic (it's a map view that draws from GIS data). Doing …

ios multithreading uikit core-graphics nsoperation
NSOperation property overrides (isExecuting / isFinished)

I am subclassing NSOperation in Swift and need to override the isExecuting and isFinished properties since I am overriding the …

ios macos swift nsoperation
Proper way to deal with cell reuse with background threads?

I have a UICollectionView, but the same methods should apply to UITableViews. Each of my cells contains an image I …

objective-c multithreading ios6 nsoperation uicollectionview
With NSOperationQueue, how do you add to a background queue instead of main, and how does controlling amount of operations work?

I'm loving NSOperationQueue but I'm having some issues understanding some portions of it. In the second issue of objc.io …

ios objective-c concurrency nsoperation nsoperationqueue
Waiting for multiple blocks to finish

I have those methods to retrieve some object information from the internet: - (void)downloadAppInfo:(void(^)())success failure:(void(^)(NSError *…

ios objective-c-blocks grand-central-dispatch nsoperation nsoperationqueue
What is ASIHTTPRequest?

What is ASIHTTPRequest? how do we use it in an iphone application? what are the files we need to include? …

iphone asihttprequest nsoperation