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 = "is not a valid IPV4 address.")
Parameters
message
String of error message.
Return Value
An initialized object.