Skip to content

Instantly share code, notes, and snippets.

@jdewind
Created April 7, 2010 13:31
Show Gist options
  • Save jdewind/358872 to your computer and use it in GitHub Desktop.
Save jdewind/358872 to your computer and use it in GitHub Desktop.
@implementation ConfirmationAlert
+ (void)show:(NSString *)message delegate:(id<UIAlertViewDelegate>)theDelegate {
UIAlertView *alertView = [[[UIAlertView alloc] initWithTitle:@"Confirm" message:message delegate:theDelegate cancelButtonTitle:@"Cancel" otherButtonTitles:@"Confirm", nil] autorelease];
[alertView show];
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment