title: NSArray arrayWithObjects: if nil is meant to mark array end, can I do ...nil, nil]?
body: <p>If nil is meant to mark the end of parameters, then can I use:</p>
  
  <pre><code>[NSArray arrayWithObjects:obj1, obj2, nil, nil, nil];
  </code></pre>
  
  <p>as the first nil marks array end and two nils after will be ignored?</p>
  
  <p>I got two opposite answers and will try it out.</p>
  
  <p>update:</p>
  
  <p>The reason why I need to do this, is I need to create an UIAlertView, which may have buttons: 'OK' only, or 'Call' and 'Cancel', so either 'OK' or 'Cancel', is the cancel button, whereas 'Call' is other buttons in one case, in other cases, I do not need any other buttons, that's why I need to do this.</p>