1

如果我创建NSOperationvia NSInvocationOperation,是否完成所选选择器会导致NSOperation完成并从操作队列中删除?

例如:

...
NSDictionary* params = @{KEY_SERVER_ID:serverId, KEY_USERNAME:username, KEY_PASSWORD:password};
NSInvocationOperation* op = [[NSInvocationOperation alloc] initWithTarget:self selector:@selector(publishBulletinBoardRead:) object:params];
[[NSOperationQueue currentQueue] addOperation:op];
...

返回时publishBulletinBoardRead:,我可以假设该操作已从队列中删除吗?

4

0 回答 0