Style

public enum Style

Styles to apply to buttons in the NewYorkAlert.

  • Default style.

    Declaration

    Swift

    case `default`
  • Style that indicates the action cancels the operation and leaves things unchanged.

    Declaration

    Swift

    case cancel
  • Style that indicates the action might change or delete data.

    Declaration

    Swift

    case destructive
  • Style that indicates the preferred action for the user to take.

    Declaration

    Swift

    case preferred