title: Subclassing UIAlertView
body: <p>Am attempting to subclass UIAlertView to better handle error states in my app. The trouble am having is with the <em>otherButtonTitles</em> nil terminated parameter, when I create my subclass it is only picking up the first string in the list rather than all the strings</p>
  
  <pre><code>+ (ErrorAlertView *)displayErrorAlertViewWithTitle:(NSString *)title 
                                             message:(NSString *)message 
                                            delegate:(id&lt;UIAlertViewDelegate&gt;)delegate 
                                       errorDelegate:(id&lt;ErrorAlertViewDelegate&gt;)errorDelegate
                                   cancelButtonTitle:(NSString *)cancelButtonTitle 
                                          displayNow:(BOOL)displayNow
                                                 tag:(NSUInteger)tag
                                   otherButtonTitles:(NSString *)otherButtonTitles, ...;
  
  {
  
    ErrorAlertView *errorAlertView = [[ErrorAlertView alloc]  initWithTitle:title 
                                                                    message:message 
                                                                   delegate:delegate 
                                                          cancelButtonTitle:cancelButtonTitle 
                                                          otherButtonTitles:otherButtonTitles, nil];
  
  
    errorAlertView.errorDelegate = errorDelegate;
    errorAlertView.tag = tag;
  
    if (displayNow) {
  
      [errorAlertView show];
  
    }
  
    return [errorAlertView autorelease];
  
  
  }
  </code></pre>
  
  <p>If I make the following call the above method:</p>
  
  <pre><code>[ErrorAlertView displayErrorAlertViewWithTitle:[self noInternetConnectionAlertViewTitle] 
                                             message:[self noInternetConnectionAlertViewMessage] 
                                            delegate:self 
                                       errorDelegate:errorDelegate 
                                   cancelButtonTitle:@"OK" 
                                          displayNow:YES 
                                                 tag:ErrorAlertTagInternetConnectionError 
                                   @"Try again",@"Setting", nil];
  </code></pre>
  
  <p>The UIAlertView is being shown with only the @"Try again" button being shown.</p>