AlertAction

public class AlertAction

Encapsulates an action to be shown on an AlertUI instance.

  • Represents how and where an action should be placed in the user interface.

    See more

    Declaration

    Swift

    @frozen
    public enum Style
  • The title of the action.

    Declaration

    Swift

    public let title: String
  • The style of the action.

    Declaration

    Swift

    public let style: Style
  • Invokes the callback.

    Declaration

    Swift

    public func invoke()