some one can tell me
I used this method "[aClass respondsToSelector:@selector(fun)]" to find if there was a fun in any class
but when the fun had three parameter how can i deal with it??
thanks
In the selector each colon (:) is a parameter. for method - (id)funWithA:(id)a B:(id)b C:(id)c
[aClass respondsToSelector:@selector(funWithA:B:C:)];
If there is no text between the parameters - (id)fun:(id)a :(id)b :(id)c
[aClass respondsToSelector:@selector(fun:::)];
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