title: Is possible send a array in Obj-c for a variable arguments function?
body: <p>In python it is easy to build a dictionary or array and pass it unpacked to a function with variable parameters</p>
  
  <p>I have this:</p>
  
  <pre><code>- (BOOL) executeUpdate:(NSString*)sql, ... {
  </code></pre>
  
  <p>And the manual way is this:</p>
  
  <pre><code>[db executeUpdate:@"insert into test (a, b, c, d, e) values (?, ?, ?, ?, ?)" ,
    @"hi'", // look!  I put in a ', and I'm not escaping it!
    [NSString stringWithFormat:@"number %d", i],
    [NSNumber numberWithInt:i],
    [NSDate date],
    [NSNumber numberWithFloat:2.2f]];
  </code></pre>
  
  <p>But I can't hardcode the parameters I'm calling, I want:</p>
  
  <pre><code>NSMutableArray *values = [NSMutableArray array];
  
  for (NSString *fieldName in props) {
    ..
    ..
    [values addObject : value]
  }
  [db executeUpdate:@"insert into test (a, b, c, d, e) values (?, ?, ?, ?, ?)" ,??values];
  </code></pre>