Skip to content

Commit

Permalink
Fixed example in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dchavezlive committed Dec 4, 2013
1 parent 679d58e commit 2fd8a0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ You can create and show an alert in a single call, e.g.
message:@"Choose a refreshing beverage"
cancelButtonTitle:@"Cancel"
otherButtonTitles:@[@"Beer", @"Wine"]
tapBlock:^(UIAlertView *alertView, NSUInteger buttonIndex) {
tapBlock:^(UIAlertView *alertView, NSInteger buttonIndex) {
if (buttonIndex == [alertView cancelButtonIndex]) {
NSLog(@"Cancelled");
} else if ([[alertView buttonTitleAtIndex:buttonIndex] isEqualToString:@"Beer"]) {
Expand Down Expand Up @@ -83,4 +83,4 @@ Add `UIAlertView+Blocks.h/m` into your project, or `pod 'UIAlertView+Blocks'` us
## Action Sheets
If you’d like similar functionality on UIActionSheet too, check out twin-sister [UIActionSheet+Blocks](https://github.com/ryanmaxwell/UIActionSheet-Blocks).
If you’d like similar functionality on UIActionSheet too, check out twin-sister [UIActionSheet+Blocks](https://github.com/ryanmaxwell/UIActionSheet-Blocks).

0 comments on commit 2fd8a0c

Please sign in to comment.