Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sentryco/secureinput
Secure input UI (macOS / iOS)
https://github.com/sentryco/secureinput
Last synced: 1 day ago
JSON representation
Secure input UI (macOS / iOS)
- Host: GitHub
- URL: https://github.com/sentryco/secureinput
- Owner: sentryco
- License: mit
- Created: 2024-11-01T06:52:06.000Z (16 days ago)
- Default Branch: main
- Last Pushed: 2024-11-12T22:49:58.000Z (4 days ago)
- Last Synced: 2024-11-12T23:29:16.558Z (4 days ago)
- Language: Swift
- Size: 95.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Tests](https://github.com/sentryco/SecureInput/actions/workflows/Tests.yml/badge.svg)](https://github.com/sentryco/SecureInput/actions/workflows/Tests.yml)
[![codebeat badge](https://codebeat.co/badges/2a87ea47-ffe8-4147-abdd-1d12a1fda9c5)](https://codebeat.co/projects/github-com-sentryco-secureinput-main)# SecureInput
> Secure input UI (macOS / iOS)
**1. SecureInputView**
**2. PasswordTextField**
**3. SecTextContainer**
**4. SecureTextView**
## Description
This repository provides a collection of secure text input UI components, each with its unique features and trade-offs. They are designed to serve various purposes in applications that prioritize secure data handling. For more detailed information and the rationale behind each component, please refer to the code comments within the UI components.
## Features
1. `SecureInputView`: obfuscation-toggle, SecureText
2. `PasswordTextField`: obfuscation-toggle, SecureText and restrictor-callback
3. `SecTextContainer`: obfuscation-toggle, attribute and multiline (Not using SecureText and not editable)
4. `SecureTextView`: obfuscation-toggle, multiline (Not using SecureText)## Instalation
Add this to XCode or SPM:
```swift
.package(url: "https://github.com/sentryco/SecureInput", branch: "main")
```## Dependencies:
- [HybridColor](https://github.com/sentryco/HybridColor)
- [MockGen](https://github.com/sentryco/MockGen)
- [TextColorizer](https://github.com/sentryco/TextColorizer)## Todo
- Add Attributed TextField that is editable
- Only use the MockGen dep for the testing scope?