Type Safely

Type Safely

Use EnvironmentOverrides To Preview Dark Mode and Accessibility Font Sizes

Daily Coding Tip 251

Type Safely's avatar
Type Safely
Feb 20, 2023
∙ Paid
Share
round white LED light
Photo by Nadine Shaabana on Unsplash

It’s often useful to be able to see how your app reacts to environment changes.

Go to File > Add Packages… in Xcode and paste this into the top right search box:

https://github.com/nalexn/EnvironmentOverrides

Once you have added the package to your project you should be able to import EnvironmentOverrides and use the .a…

Keep reading with a 7-day free trial

Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Type Safely
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture