ExpectedAlertAction

public struct ExpectedAlertAction

A type used to represent an expected title and style for a UIAlertAction instance.

  • Initialize an instance of ExpectedAlertAction.

    Declaration

    Swift

    public init(title: String, style: UIAlertActionStyle)

    Parameters

    title

    The expected title of the UIAlertAction you are comparing against.

    style

    The expected style of the UIAlertAction you are comparing against.