You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Valeriy Malishevskyi edited this page May 6, 2023
·
1 revision
Working with Colors
The Swift Extensions library provides several extensions for working with colors, such as creating colors from RGB or hexadecimal values, or setting colors based on the current user interface style. For example, you can use the UIColor(light:dark:) initializer to create a color that automatically switches between a light and dark mode, like so: