title: Creating an UIButton action with argument in iOS
body: <p>I have a <code>UIBUtton</code> called <em>firstButton</em> that has the line below to add the target. However I am getting the error:</p>
  <blockquote>
  <p>Parse issue Expected )</p>
  </blockquote>
  <p>What is the correct syntax?</p>
  <pre><code>[firstButton addTarget:self action:@selector(responseAction: 1) forControlEvents:UIControlEventTouchUpInside];
  
  - (IBAction) responseAction:(int)buttonPressed
  {
  NSLog(@&quot;%d&quot;, buttonPressed);
  }
  </code></pre>