Skip to content

Commit c433da8

Browse files
committed
Add code documentation.
1 parent 1a7994a commit c433da8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

EyePasswordTextField/Classes/PasswordRule.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,17 @@ import Foundation
1313
///
1414
public struct PasswordRule
1515
{
16+
/// The minimum password length.
1617
private let minLength: Int
18+
/// The minimum password length.
1719
private let maxLength: Int
20+
/// If password has numbers.
1821
private let hasNumbers: Bool
22+
/// If password has uppercases.
1923
private let hasUppercase: Bool
24+
/// If password has special characters.
2025
private let hasSpecialCharacters: Bool
26+
/// The allowed special characters.
2127
private let allowedCharacters: [String]
2228

2329
public init(

0 commit comments

Comments
 (0)