Type Aliases

The following type aliases are available globally.

  • Action block to perform when a button is pressed.

    Declaration

    Swift

    public typealias AlertAction = () -> Void
  • Action block when a picker item is selected.

    Declaration

    Swift

    public typealias AlertPickerAction = (AlertPickerRow) -> Void
  • Action block to perform when a date is selected.

    Declaration

    Swift

    public typealias AlertDatePickerAction = (Date) -> Void
  • Action block to perform when checkbox is selected or deselected

    Declaration

    Swift

    public typealias AlertCheckboxAction = (Bool) -> Void