UIActionSheet-Blocks
UIActionSheet-Blocks copied to clipboard
UIActionSheet+Blocks is a simple Block implementation for UIActionSheet created by Shai Mishali.
Results
1
UIActionSheet-Blocks issues
Sort by
recently updated
recently updated
newest added
``` [UIActionSheet presentOnView:self.view.window withTitle:NSLocalizedString(@"Validate flight", @"Validate flight") cancelButton:NSLocalizedString(@"Cancel", @"Cancel") destructiveButton:NSLocalizedString(@"Invalid", @"Invalid") otherButtons:@[NSLocalizedString(@"Valid", @"Valid")] onCancel:^(UIActionSheet *) { NSLog(@"cancel"); } onDestructive:^(UIActionSheet *) { NSLog(@"invalid"); } onClickedButton:^(UIActionSheet *, NSUInteger) { NSLog(@"invalid"); }]; ```...