Is there any method like this:
- (id)performSelector:(SEL)selector withParameters:(NSArray *)parameters;
and I can invoke a obj-c message like this:
// invoke a message with 3 parameters
[obj performSelector:@selector(evaluate:name:animate:) withParameters:@[@1, @"test", @YES]];
// invoke a message with 1 parameter which is an array containing 3 components.
[NSArray performSelector:@selector(arrayWithArray:) withParameters:@[@[@1, @"test", @YES]]];
If there is no such method like this. How can I implement this with Obj-C runtime? Is it impossible?