Is there any way that I can pass arguments in selector?
example: I have this method
- (void)myMethod:(NSString*)value1 setValue2:(NSString*)value2{
}
and I need to call this function through a selector passing two arguments.
[NSTimer scheduledTimerWithTimeInterval:0.1 target:self selector:@selector(/*my method*/) userInfo:nil repeats:YES];
How can I do this?