title: how can i pass an int value through a selector method?
body: <p>I want to pass an <code>int</code> value from my selector method, but the selector method takes only an object type parameter.</p>
  
  <pre><code>int y =0;
  [self performselector:@selector(tabledata:) withObject:y afterDelay:0.1];
  </code></pre>
  
  <p>Method execution is here</p>
  
  <pre><code>-(int)tabledata:(int)cellnumber {
     NSLog(@"cellnumber: %@",cellnumber);
     idLabel.text = [NSString stringWithFormat:@"Order Id: %@",[[records objectAtIndex:cellnumber] objectAtIndex:0]];
  }
  </code></pre>
  
  <p>but I am not getting exact integer value in my method, I am only getting the id value.</p>