-
Strength of password
See moreDeclaration
Swift
public enum Strength -
Initializes a
PasswordRuleobject that will validate a field is a valid password.Declaration
Swift
public init(strength: PasswordRule.Strength = .weak, message: String = "")Parameters
strengthmessageString of error message.
Return Value
An initialized
PasswordRuleobject.
View on GitHub
PasswordRule Class Reference