{"id":16699674,"url":"https://github.com/nalexn/environmentoverrides","last_synced_at":"2025-04-09T17:26:06.467Z","repository":{"id":41468276,"uuid":"240335041","full_name":"nalexn/EnvironmentOverrides","owner":"nalexn","description":"QA assistant for a SwiftUI app: change the color scheme, accessibility settings, and localization on the fly!","archived":false,"fork":false,"pushed_at":"2021-08-02T09:27:24.000Z","size":33,"stargazers_count":303,"open_issues_count":2,"forks_count":17,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-03-16T06:33:58.642Z","etag":null,"topics":["accessibility","dark-theme","localization","overlay","qa","swiftui","testing-tools","xcode"],"latest_commit_sha":null,"homepage":"","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/nalexn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["nalexn"],"custom":["https://venmo.com/nallexn"]}},"created_at":"2020-02-13T18:43:28.000Z","updated_at":"2024-03-08T12:35:52.000Z","dependencies_parsed_at":"2022-07-07T14:07:43.368Z","dependency_job_id":null,"html_url":"https://github.com/nalexn/EnvironmentOverrides","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nalexn%2FEnvironmentOverrides","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nalexn%2FEnvironmentOverrides/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nalexn%2FEnvironmentOverrides/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nalexn%2FEnvironmentOverrides/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nalexn","download_url":"https://codeload.github.com/nalexn/EnvironmentOverrides/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248076129,"owners_count":21043716,"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":["accessibility","dark-theme","localization","overlay","qa","swiftui","testing-tools","xcode"],"created_at":"2024-10-12T18:07:50.029Z","updated_at":"2025-04-09T17:26:06.446Z","avatar_url":"https://github.com/nalexn.png","language":"Swift","funding_links":["https://github.com/sponsors/nalexn","https://venmo.com/nallexn"],"categories":[],"sub_categories":[],"readme":"# SwiftUI Environment Overrides\n\n![Platform](https://img.shields.io/badge/platform-iOS%20%7C%20macOS-lightgrey) [![blog](https://img.shields.io/badge/blog-github-blue)](https://nalexn.github.io/?utm_source=nalexn_github) [![venmo](https://img.shields.io/badge/%F0%9F%8D%BA-Venmo-brightgreen)](https://venmo.com/nallexn)\n\nA tiny library that adds a control panel for testing how SwiftUI app adapts for different color themes, accessibility settings, and localizations.\n\n#### Make your QA team happy!\n\n\u003cdiv style=\"max-width:255px; display: block; margin-left: auto; margin-right: auto;\"\u003e\u003cimg src=\"https://github.com/nalexn/blob_files/blob/master/images/EnvironmentOverrides.gif?raw=true\"\u003e\u003c/div\u003e\n\nInspired by \"Environment Overrides\" pane in Xcode, but allows to QA the actual running app instead of the preview in Xcode.\n\nSupported settings that you can toggle on the fly:\n\n* [Light / Dark mode](https://developer.apple.com/design/human-interface-guidelines/macos/visual-design/dark-mode/)\n* [Localization](https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPInternational/Introduction/Introduction.html)\n* [Dynamic Type Text Size](https://developer.apple.com/documentation/uikit/uifont/scaling_fonts_automatically)\n* [Right-to-Left User Interface](https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPInternational/SupportingRight-To-LeftLanguages/SupportingRight-To-LeftLanguages.html)\n* [Accessibility](https://developer.apple.com/documentation/uikit/accessibility/)\n\nYou can quickly take screenshots in different languages for iTunes Connect (the panel hides itself).\n\nAttach the control panel with just one line of code:\n\n```swift\nContentView()\n    .attachEnvironmentOverrides()\n```\n\nIntegration with Swift Package Manager:\n\n1. In Xcode select **File ⭢ Swift Packages ⭢ Add Package Dependency...**\n2. Copy-paste repository URL: **https://github.com/nalexn/EnvironmentOverrides**\n3. Hit **Next** two times\n4. Hit **Finish**\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnalexn%2Fenvironmentoverrides","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnalexn%2Fenvironmentoverrides","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnalexn%2Fenvironmentoverrides/lists"}