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
titleThe expected title of the
UIAlertActionyou are comparing against.styleThe expected style of the
UIAlertActionyou are comparing against.
View on GitHub
ExpectedAlertAction Struct Reference