Let’s consider this snippet of code:
Using respondsToSelector:
Obviously you can add additional checks, to see the kind of class, check the length and so on.
Let’s consider this snippet of code:
Using respondsToSelector:
Obviously you can add additional checks, to see the kind of class, check the length and so on.