title: Passing arguments to selector
body: <p>i have been working on a small demo and i wrote a function which accepts two string object and looks like this</p>
  
  <pre><code>-(void)adding:(NSString*)num1 :(NSString*)num2
  {
      num1 = first.text; //first is object of label
      num2 = second.text; //second is object of label
  
      int x= [num1 integerValue];
      int y = [num2 integerValue];
  
      int r = x+y;
      NSLog(@"%d",r);
  }
  </code></pre>
  
  <p>am having one more function</p>
  
  <pre><code>-(void)calling
  {
      [self performSelector:@selector(adding:)withObject:@"num1" withObject:@"num2"];
  }
  </code></pre>
  
  <p>and am calling the method named calling on button touch up inside event</p>
  
  <pre><code>[btn addTarget:self action:@selector(calling) forControlEvents:UIControlEventTouchUpInside];
  </code></pre>
  
  <p>but i get an error called unrecognized selector sent to instance</p>
  
  <p>can you please tell me where i am wrong and how to pass methods with arguments to selector.
  Thank you</p>