DSNumberValidationRule

public struct DSNumberValidationRule : DSValidationRule

A validation rule for requiring that only digits are entered.

  • Initializes the validation rule.

    Declaration

    Swift

    public init(message: String)

    Parameters

    message

    Error message to display if validator fails