PasswordTextField is a custom TextField with a switchable icon which shows or hides the password and enforces good password policies, written in Swift.
Features:
- Custom toggle icon in IB or programmatically.
- Custom icon color in IB or programmatically.
- Custom password validation rules.
- Custom password validation error message.
- Control when to show the icon, while editing, always or never.
