Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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)

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**

secureinputview

**2. PasswordTextField**

passwordtextfield

**3. SecTextContainer**

passwordtextfield

**4. SecureTextView**

passwordtextfield

## 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?