NumericOptionItemInputHelper
public struct NumericOptionItemInputHelper
This struct helps a NumericOptionItem object to display an input box.
-
Creates a new NumericOptionItemInputHelper object.
Important
Either title or message must be provided.Declaration
Swift
public init(title: String? = nil, message: String? = nil, keyboardType: UIKeyboardType = .numbersAndPunctuation, placeholder: String? = nil, validator: @escaping ((String) -> Bool))Parameters
titleTitle of the input box.
messageMessage of the input box.
keyboardTypeType of the input keyboard.
placeholderPlaceholder of the input box.
validatorInput validator function.
View on GitHub
NumericOptionItemInputHelper Structure Reference