IPV4Rule
public class IPV4Rule : RegexRule
IPV4Rule is a subclass of RegexRule that defines how a IPV4 address validated.
-
Initializes a
IPV4Ruleobject to verify that field has text is an IPV4Rule address.Declaration
Swift
public init(message: String = "is not a valid IPV4 address.")Parameters
messageString of error message.
Return Value
An initialized object.
View on GitHub
IPV4Rule Class Reference