I have background NSInvocationOperation creating and saving NSArray to the NSManagedObject subclass. I know that save should happen on main thread, so I use performSelectorOnMainThread for save in th
I have code following lines to start multiple downloads from my application. The problem is, the NSInvocation开发者_开发知识库Queue is not calling selector method, i.e. downloadMyVideos.
I have an NSOperation running in a NSOperationQueue. The NSOperation downloads some data and parses it into NSDictionary. How do I know when the NSOperation has finished and get that dictionary?
I update the UITableView\'s data source when viewDidAppear method is called on the ViewCon开发者_运维问答troller that holds the tableview. So every time the user returns from the detailView the data i
I have开发者_StackOverflow中文版 a problem with operations. When I add operations to NSOperationQueue and it\'s had executed I have a method that add to array result. This is my method:
I would like to test an NSOperation subclass. I tried t开发者_StackOverflow社区o do this in my SenTestCase subclass:
I am trying to resolve UI issues surrounding NSTimer/NSOperationQueue performing inconsistently. I am seeing that regardless of whether I use NSTimer or NSInvocationOperation to trigger the code below
I have an app that submits data using ASIFormDataRequest to a remote web site. I want to allow the user to store them for upload later if they are offline (eg: iPod touch or out of cell coverage, etc)
Given the example code below: // ExampleModel.h @interface ExampleModel : NSObject <ASIHTTPRequestDelegate> {
I use NSOperationQueue to create UIImages in the background, upon image creation, main thread gets notified and set the image to a view.