What is the difference between calling the methods with following types
1.
[self methodName];
and
2.
[self performSelector:@selector(methodName)]; // no afterDelay is used
Is it like performSelector will use different thread to work??
In most cases, they are equivalent.
According to the documentation, the purpose of the performSelector:
variant is so that you can call methods that are defined dynamically and not actually present at compile-time. That's all. For calling a method that is present at compile-time, there is no difference between the two.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With