Skip to content

Instantly share code, notes, and snippets.

@enormego
Created July 6, 2009 18:12
Show Gist options
  • Save enormego/141586 to your computer and use it in GitHub Desktop.
Save enormego/141586 to your computer and use it in GitHub Desktop.
void UIAlertViewQuick(NSString* title, NSString* message, NSString* dismissButtonTitle) {
UIAlertView* alert = [[UIAlertView alloc] initWithTitle:title
message:message
delegate:nil
cancelButtonTitle:dismissButtonTitle
otherButtonTitles:nil];
[alert show];
[alert autorelease];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment