Skip to content

TextAlert

j1mmyto9 edited this page Jun 30, 2022 · 1 revision

TextAlert

public struct TextAlert 

Properties

title

public var title: String 

message

public var message: String 

placeholder

public var placeholder: String = "" 

accept

public var accept: String = "OK" 

cancel

public var cancel: String? = "Cancel" 

secondaryActionTitle

public var secondaryActionTitle: String? = nil 

keyboardType

public var keyboardType: UIKeyboardType = .default 

action

public var action: (String?) -> Void 

secondaryAction

public var secondaryAction: (() -> Void)? = nil 
Clone this wiki locally