Using -performSelector: vs. just calling the method

Viewed 65136

I'm still kind of new to Objective-C and I'm wondering what is the difference between the following two statements?

[object performSelector:@selector(doSomething)]; 

[object doSomething];
5 Answers
Related