Created
July 6, 2009 18:12
-
-
Save enormego/141586 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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