UIActionSheet(Blocks) Category Reference
| Conforms to | UIActionSheetDelegate |
| Declared in | UIActionSheet+Blocks.h UIActionSheet+Blocks.m |
Instance Methods
addButtonWithTitle:handler:
Add a button with a callback block.
- (void)addButtonWithTitle:(NSString *)title handler:(void ( ^ ) ( UIActionSheet *sender ))blockParameters
- title
The title for the sheet.
- block
The callback sent when a user selects the option.
Declared In
UIActionSheet+Blocks.haddCancelButtonWithTitle:handler:
Add a cancel button with a callback block.
- (void)addCancelButtonWithTitle:(NSString *)title handler:(void ( ^ ) ( UIActionSheet *sender ))blockParameters
- title
The title for the sheet.
- block
The callback sent when a user selects the option.
Declared In
UIActionSheet+Blocks.haddDestructiveButtonWithTitle:handler:
Add a destructive button with a callback block.
- (void)addDestructiveButtonWithTitle:(NSString *)title handler:(void ( ^ ) ( UIActionSheet *sender ))blockParameters
- title
The title for the sheet.
- block
The callback sent when a user selects the option.
Declared In
UIActionSheet+Blocks.h