//呼叫不用參數的method
[self performSelector:@selector(fooNoInputs)];
//呼叫一個參數的method
[self performSelector:@selector(fooOneInput:) withObject:@"first"];
//呼叫二個參數的method
[self performSelector:@selector(fooFirstInput:secondInput:) withObject:@"first" withObject:@"second"];
沒有留言:
張貼留言