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