Skip to content

Commit

Permalink
Add code documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushSinghi committed May 9, 2021
1 parent 1a7994a commit c433da8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions EyePasswordTextField/Classes/PasswordRule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,17 @@ import Foundation
///
public struct PasswordRule
{
/// The minimum password length.
private let minLength: Int
/// The minimum password length.
private let maxLength: Int
/// If password has numbers.
private let hasNumbers: Bool
/// If password has uppercases.
private let hasUppercase: Bool
/// If password has special characters.
private let hasSpecialCharacters: Bool
/// The allowed special characters.
private let allowedCharacters: [String]

public init(
Expand Down

0 comments on commit c433da8

Please sign in to comment.