PinCodeRule

public class PinCodeRule : RegexRule

PinCodeRule is a subclass of RegexRule that represents how indian pin codes are to be validated.

  • Initializes a PinCodeRule object.

    Declaration

    Swift

    public init(message: String = "is not a valid 6 digit pincode.")

    Parameters

    message

    String that holds error message.

    Return Value

    An initialized object.