Skip to content

alienbat/WDAlertView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WDAlertView

A simple alert view class for block style operations on iOS UIAlertView.

Usage:

 
[WDAlertView showAlertViewWithTitle:NSLocalizedString(@"Please Confirm", nil)
                           message:NSLocalizedString(@"You sure you want to do this?", nil)
                      dismissBlock:^(UIAlertView *alert_view, NSInteger button_index) {
                          
                          if (button_index) {
                              
                              //Do whatever you need to do after the user confirms. 
                              
                              }];
                          }
                          
                      } cancelButtonTitle:NSLocalizedString(@"No, thanks", nil)
                 otherButtonTitles:NSLocalizedString(@"Yes, please", nil), nil];


About

A simple alert view class for block style operations on iOS UIAlertView

Resources

License

Stars

Watchers

Forks

Packages

No packages published