Type Alias

CPAlertActionHandler

The declaration for an alert action handler.

Declaration

typealias CPAlertActionHandler = (CPAlertAction) -> Void

Parameters

action

The alert action that invoked the block.

See Also

Getting the Action Handler

var handler: CPAlertActionHandler

The block invoked after the user taps the action button.