NumericRule
public class NumericRule : CharacterSetRule
NumericRule
is a subclass of CharacterSetRule
. It is used to verify that a field has a
valid list of numeric characters.
-
Initializes an
NumericRule
object to verify that a field has valid set of numeric characters.Declaration
Swift
public init(message: String = "can have numeric characters only.")
Return Value
An initialized object, or nil if an object could not be created for some reason.