I\'ve created a custom subclass of NSOperation and I\'ve overwritten the main method. @interface WGTask : NSOperation
When you use threads, do you have any preferences? In general rule, to use any of these techniques : create a new thread manually and use the run loop
I am writing a web-connected application that 开发者_StackOverflowneeds to execute several asynchronous requeststo load data needed lower down in the dependency tree.
I am using NSOperation to perform some heavy parsing of data, then return back to the main thread with objects ready to be used by my app. I handle all operations by placing them on a singleton NSOper
I need your help. I have write my own custom NSOperation class called GetNewsOperation. I call it like this:
the question is simple : my app control if there is an update every time it starts. If there is an update a popup will be shown with a Yes or No choose. When user tap Yes 4 methods start. These method
I have a problem. In my program I need to cancel operations (subclass NSOperation) in queue after clicking on button. But when I calling [queue cancelAllOperations] nothing开发者_Go百科 happens. The q
I\'m using an ASINetworkQueue to queue up my requests. Whereas I add 12 requests, in the end it downloads 24 times, downloading each request twice? Why is that? And how can I prevent it?
I\'ve subclassed NSOperation and - (void) main is ok, (since it worked before using NSOperation), I\'ve also stepped through the init method and the variables are initialized correctly.
Both of the following questions are being asked in context to maintain NSOperationQueue and NSInvocationOperation.