iphone - initializing a UIActionSheet with an array of buttons
<p>I am initializing a UIActionSheet and I would like to populate its "otherButtonTitles" from an Array, Set, or whatever, like this</p>

<pre><code>UIActionSheet* aSheet = [[UIActionSheet alloc] initWithTitle:"hi There" 
delegate:self
cancelButtonTitle:nil
destructiveButtonTitle:nil
otherButtonTitles:[mySetOfStringsOrWhatever allObjects], nil];
</code></pre>

<p>is that possible?</p>

<p>(I have tried this but Xcode doesn't like it)</p>

<p>thanks in advance.</p>
