【发布时间】:2012-03-30 00:27:55
【问题描述】:
我在我的应用程序中使用 NSOperationQueue,我想为我的操作设置多个参数,我该怎么做?
NSOperationQueue *queue = [[[NSOperationQueue alloc] init] autorelease];
NSInvocationOperation *operation = [[NSInvocationOperation alloc] initWithTarget:self selector:@selector(methodCall) object:nil];
[queue addOperation:operation];
[operation release];
【问题讨论】:
标签: iphone cocoa-touch nsoperation nsoperationqueue nsinvocationoperation