Adds a control panel for testing how SwiftUI app adapts for different color themes, accessibility settings, and localizations.
  • July 14, 2025

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:

ContentView()
.attachEnvironmentOverrides()

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

GitHub


View Github

#debug #framework
YOU MIGHT ALSO LIKE...
MijickPopups Hero

  Popups Alerts Resizable Sheets Banners

SwiftUI Tooltip

This package provides you with an easy way to show tooltips over any SwiftUI view, since Apple does not provide ...

SimpleToast for SwiftUI

SimpleToast is a simple, lightweight, flexible and easy to use library to show toasts / popup notifications inside iOS or ...

SSToastMessage

Create Toast Views with Minimal Effort in SwiftUI Using SSToastMessage. SSToastMessage enables you to effortlessly add toast notifications, alerts, and ...

ToastUI

A simple way to show toast in SwiftUI   Getting Started • Documentation • Change Log