title: cocoa UIImageView addTarget with extra parameter
body: <p>With a loop I add UIImageView to a UIScrollView i need to add an extra parameter addTarget so when i click i can log the index.</p>
  
  <pre><code>[imageButton addTarget:self action:@selector(buttonPushed:) 
        forControlEvents:UIControlEventTouchUpInside];
  
  
  -(IBaction) buttonPushed: (int) index
  {
      NSLog(@"%d",index);
  }
  </code></pre>
  
  <p>How do i achieve this?</p>