の一般的な呼び出しはperformSelectorOnMainThread:
次のようになります。
[target performSelectorOnMainThread:action withObject:foo waitUntilDone:NO];
ここで、「result」は「action」に渡される引数です。対応するアクションは次のようになります。
- (void)doSomethingWithThing1:(id *)thing1
> 1引数を取るアクションを呼び出すための正しい構文は何ですか?そのような:
- (void)doSomethingWithThing1:(id *)thing1 andThing2(id *)thing2 andAlsoThing3(id *)thing3
[target performSelectorOnMainThread:action withObject:??? waitUntilDone:NO];