user392412 user392412 - 1 month ago 18
Objective-C Question

Use performSelector with three or more arguments?

The various

performSelector:...
methods can handle a maximum of two arguments passed to the specified selector. What can I do if I need to pass three or more arguments?

Answer

You need to use NSInvocation class for that. Check this SO question for more details on using them.

Comments