一个典型的调用performSelectorOnMainThread:
如下所示:
[target performSelectorOnMainThread:action withObject:foo waitUntilDone:NO];
其中“结果”是传递给“动作”的参数。相应的操作是:
- (void)doSomethingWithThing1:(id *)thing1
调用具有 > 1 个参数的操作的正确语法是什么?如:
- (void)doSomethingWithThing1:(id *)thing1 andThing2(id *)thing2 andAlsoThing3(id *)thing3
[target performSelectorOnMainThread:action withObject:??? waitUntilDone:NO];