IPV4Rule

public class IPV4Rule: RegexRule

IPV4Rule is a subclass of RegexRule that defines how a IPV4 address validated.

  • Initializes a IPV4Rule object to verify that field has text is an IPV4Rule address.

    Declaration

    Swift

    public init(message: String = "Must be a valid IPV4 address")

    Parameters

    message

    String of error message.

    Return Value

    An initialized object, or nil if an object could not be created for some reason that would not result in an exception.