title: iOS performSelectorOnMainThread with multiple arguments
body: <p>I would like to perform a selector on the main thread from another thread, but the selector has multiple arguments, similar to this:</p>
  
  <p><code>-(void) doSomethingWith:(int) a b:(float)b c:(float)c d:(float)d e:(float)e { 
      //...
  }</code></p>
  
  <p>How can I get this working with <code>performSelectorOnMainThread: withObject: waitUntilDone:</code>?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I would like to explain why i need this.</p>
  
  <p>I'm working with UIImageViews on the main thread, and I make the calculations for them on another thread. I use a lot of calculations so if i make everything on the main thread, the app lags. I know that UI elements can only be manipulated on the main thread, this is why i would like it to work this way, so the main thread can listen to touch events without lags.</p>