Is there a way to call [anObject performSelector]; with more than 2 objects? I know you can use an array to pass multiple arguments, but I was wondering if there was a lowe
Either (1) Use an NSInvocation or (2) directly use objc_msgSend.
objc_msgSend
objc_msgSend(target, @selector(action:::), arg1, arg2, arg3);
(Note: make sure all arguments are id's, otherwise the arguments might not be sent correctly.)
id