Top "Nsoperation" questions

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

Creating a custom method with completion block

Possible Duplicate: Implementing a method taking a block to use as callback I couldn't find any clear explanation about how …

objective-c ios objective-c-blocks nsoperation
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
NSOperation and NSNotificationCenter on the main thread

I have an NSOperation. When it is finished I fire a NSNotificationCenter to let the program know that the NSoperation …

iphone objective-c cocoa nsoperation nsnotificationcenter
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
Waiting for completion block to complete in an AFNetworking request

I am making a JSON request with AFNetworking and then call [operation waitUntilFinished] to wait on the operation and the …

objective-c nsoperation synchronous afnetworking
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
How do I do an Asynchronous NSURLConnection inside an NSOperation?

I want to do an Asynchrous NSURLConnection inside of an NSOperation on a background thread. (it is because I'm doing …

iphone nsoperation
Asynchronous methods in NSOperation

I'm fetching some data from Facebook Connect (using the FBConnect Objective-C 2.0 framework) and I'm doing all that in an NSOperation. …

iphone asynchronous nsoperation fbconnect
Best practice to send a lot of data in background on iOS4 device?

I have an app that needs to send data (using POST) to a server. This function has to be on …

iphone ios multithreading grand-central-dispatch nsoperation
Can you use cancel/isCancelled with GCD/dispatch_async?

I've been wondering, can you use cancel/cancelAllOperations/.isCancelled with a thread you have launched with GCD? Currently, I just …

iphone multithreading ios nsoperation grand-central-dispatch