NSInvocationOperation * theOp = [[NSInvocationOperation alloc] initWithTarget: self selector: @ selector (myTaskMethod :) object: data];
[[MyAppDelegate sharedOperationQueue] addOperation: theOp];
Why sharedOperationQueue This method shows not found, is the need to add any framework, or do something else.
Reply:
This is the entire APP sharedOperationQueue Singleton object ah.
And framework eh relationships.
Reply:
I wrote this method can be used.
APP's Singleton object refers to what?
Reply:
No comments:
Post a Comment