PasswordRule
public class PasswordRule : RegexRule
PasswordRule is a subclass of RegexRule that defines how a password is validated.
-
Initializes a
PasswordRuleobject that will validate a text field is a valid password.Declaration
Swift
public convenience init(message : String = "Must be 8 characters with 1 uppercase")Parameters
messageString of error message.
Return Value
An initialized
PasswordRuleobject, or nil if an object could not be created for some reason that would not result in an exception.
PasswordRule Class Reference