title: Passing arguments to selector in Objective-C
body: <p>My function looks like this</p>
  
  <pre><code>-(void) doTransition:(id)sender withID:(int) n
  </code></pre>
  
  <p>How do I pass int n to selector, </p>
  
  <pre><code>target:self selector:@selector(doTransition:)withID:3
  </code></pre>
  
  <p>this won't work</p>
  
  <p>Please help
  Thanks</p>