PROTOCOL

TextLengthRestriction

public protocol TextLengthRestriction

Conveys information about text length restrictions for a text form field.

Properties

minLength

var minLength: Int?

Minimum number of characters the field value must contain.

maxLength

var maxLength: Int?

Maximum number of characters the field value must contain.