Ich verwende NSOperationQueue in meiner App und ich möchte mehrere Argumente für meine Operation festlegen, wie kann ich das tun?Mehrere Argumente für NSOperation?
NSOperationQueue *queue = [[[NSOperationQueue alloc] init] autorelease];
NSInvocationOperation *operation = [[NSInvocationOperation alloc] initWithTarget:self selector:@selector(methodCall) object:nil];
[queue addOperation:operation];
[operation release];
Diese Antwort ist, obwohl sie korrekt sein könnte, als minderwertig gekennzeichnet, weil sie nicht eindeutig genug ist. – vonPetrushev