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
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…

User's avatar

Continue reading this post for free, courtesy of Type Safely.

Or purchase a paid subscription.
© 2026 Type Safely · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture