title: Is there any alternative for NSInvocation in Swift?
body: <p>I'm trying to invoke a <em>selector</em>, with multiple (2+) arguments (the number of arguments can be determined). However, the selector is unknown at compile time (generated with <code>NSSelectorFromString</code>, actually).</p>
  <p>In Objective-C, I could create an invocation and set arguments to it and invoke it. But this is not available in Swift. Is there any way around this? Like:</p>
  <pre><code>let obj = SomeClass()
  let selector = NSSelectorFromString(&quot;arg1:arg2:arg3:&quot;) //selector, arguments known only at runtime
  //invoke selector
  </code></pre>