{"id":28754486,"url":"https://github.com/kovs705/accessdenied","last_synced_at":"2025-06-17T01:10:11.976Z","repository":{"id":295466742,"uuid":"990183330","full_name":"kovs705/AccessDenied","owner":"kovs705","description":"Small, bite-sized library to hide sensitive views","archived":false,"fork":false,"pushed_at":"2025-06-07T16:14:09.000Z","size":201,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-07T16:29:07.503Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kovs705.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-25T17:08:08.000Z","updated_at":"2025-06-07T16:14:11.000Z","dependencies_parsed_at":"2025-05-25T18:53:33.385Z","dependency_job_id":null,"html_url":"https://github.com/kovs705/AccessDenied","commit_stats":null,"previous_names":["kovs705/accessdenied"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kovs705/AccessDenied","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kovs705%2FAccessDenied","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kovs705%2FAccessDenied/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kovs705%2FAccessDenied/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kovs705%2FAccessDenied/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kovs705","download_url":"https://codeload.github.com/kovs705/AccessDenied/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kovs705%2FAccessDenied/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260269457,"owners_count":22983648,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-17T01:09:36.817Z","updated_at":"2025-06-17T01:10:11.964Z","avatar_url":"https://github.com/kovs705.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg width=\"300\" height=\"300\" src=\"/Assets/AccessDenied.png\" alt=\"\"\u003e\n  \u003ch1\u003e\u003cb\u003eAccessDenied\u003c/b\u003e\u003c/h1\u003e\n  \u003cp\u003e\n    Library to hide sensitive views\n    \u003cbr\u003e\n    \u003ci\u003eCompatible with iOS 15.0 and later\u003c/i\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://swift.org\"\u003e\n\u003c!--     \u003cimg src=\"https://img.shields.io/badge/Swift-5.9%20%7C%206-orange.svg\" alt=\"Swift Version\"\u003e --\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Swift-6.1-orange.svg\" alt=\"Swift Version\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.apple.com/ios/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/iOS-15%2B-blue.svg\" alt=\"iOS\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/License-MIT-green.svg\" alt=\"License: MIT\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n# AccessDenied\n\nA SwiftUI library that helps protect sensitive content in your iOS apps by automatically hiding content when the app goes to the background or when a screenshot is taken.\n\n## Features\n\n- Multiple privacy styles to choose from:\n  - Default\n  - Redacted\n  - Blur\n  - Opacity\n  - Custom (with customizable color and corner radius)\n- Automatic content protection when app goes to background\n- Easy to use SwiftUI view modifier\n- iOS 15+ support\n\n## Installation\n\n### Swift Package Manager\n\nAdd the following dependency to your `Package.swift` file:\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/kovs705/AccessDenied.git\", from: \"1.0.0\")\n]\n```\n\nOr add it directly in Xcode:\n1. Go to File \u003e Add Packages\n2. Enter the repository URL: `https://github.com/kovs705/AccessDenied.git`\n3. Click Add Package\n\n## Usage\n\nSimply add the `privacySensitive` modifier to any view you want to protect:\n\n```swift\nimport SwiftUI\nimport AccessDenied\n\nstruct ContentView: View {\n    var body: some View {\n        Text(\"Sensitive Content\")\n            .privacySensitive(.blur)\n    }\n}\n```\n\n### Available Styles\n\n```swift\n// Default style\n.privacySensitive(.default)\n\n// Redacted style\n.privacySensitive(.redacted)\n\n// Blur style\n.privacySensitive(.blur)\n\n// Opacity style\n.privacySensitive(.opacity)\n\n// Custom style with color and corner radius\n.privacySensitive(.custom(color: .black, cornerRadius: 10))\n\n// Disable privacy protection\n.privacySensitive(.default, isEnabled: false)\n```\n\n## Requirements\n\n- iOS 15.0+\n- Swift 5.9\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Support\n\nIf you encounter any issues or have questions:\n\n1. Check the [Issues](https://github.com/kovs705/AccessDenied/issues) page\n2. Create a new issue with detailed information\n3. Include device model, iOS version, and code samples\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkovs705%2Faccessdenied","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkovs705%2Faccessdenied","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkovs705%2Faccessdenied/lists"}