VouchrActionSheetViewControllerDelegate
@protocol VouchrActionSheetViewControllerDelegate <NSObject>
The VouchrActionSheetViewControllerDelegate
protocol is responsible for responding to VouchrActionSheetItem
selection
and dismissing the VouchrActionSheetViewController
.
-
Called when a user selects an action sheet item.
Declaration
Objective-C
- (void)didSelectActionSheetItem: (nonnull VouchrActionSheetItem *)actionSheetItem;
Swift
func didSelect(_ actionSheetItem: VouchrActionSheetItem)
Parameters
actionSheetItem
- the action sheet item that was selected
-
Called when the action sheet is dismissed.
Declaration
Objective-C
- (void)didDismissActionSheetViewController: (nonnull VouchrActionSheetViewController *)actionSheetViewController;
Swift
optional func didDismiss(_ actionSheetViewController: VouchrActionSheetViewController)
Parameters
actionSheetViewController
- the action sheet view controller that was dismissed