We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a7994a commit c433da8Copy full SHA for c433da8
1 file changed
EyePasswordTextField/Classes/PasswordRule.swift
@@ -13,11 +13,17 @@ import Foundation
13
///
14
public struct PasswordRule
15
{
16
+ /// The minimum password length.
17
private let minLength: Int
18
19
private let maxLength: Int
20
+ /// If password has numbers.
21
private let hasNumbers: Bool
22
+ /// If password has uppercases.
23
private let hasUppercase: Bool
24
+ /// If password has special characters.
25
private let hasSpecialCharacters: Bool
26
+ /// The allowed special characters.
27
private let allowedCharacters: [String]
28
29
public init(
0 commit comments