Swiftpack.co - nalexn/EnvironmentOverrides as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by nalexn.
nalexn/EnvironmentOverrides 0.0.4
QA assistant for a SwiftUI app: change the color scheme, accessibility settings, and localization on the fly!
⭐️ 288
🕓 1 year ago
iOS macOS
.package(url: "https://github.com/nalexn/EnvironmentOverrides.git", from: "0.0.4")

SwiftUI Environment Overrides

Platform blog venmo

A tiny library that adds a control panel for testing how SwiftUI app adapts for different color themes, accessibility settings, and localizations.

Make your QA team happy!

Inspired by "Environment Overrides" pane in Xcode, but allows to QA the actual running app instead of the preview in Xcode.

Supported settings that you can toggle on the fly:

You can quickly take screenshots in different languages for iTunes Connect (the panel hides itself).

Attach the control panel with just one line of code:


Integration with Swift Package Manager:

  1. In Xcode select File ⭢ Swift Packages ⭢ Add Package Dependency...
  2. Copy-paste repository URL: https://github.com/nalexn/EnvironmentOverrides
  3. Hit Next two times
  4. Hit Finish


Stars: 288
Last commit: 1 year ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics