Skip to content
A small app which shows the system UIColors and generates code for backwards compatibility
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
NGSystemColorComparison.xcodeproj Add an app which works Jun 9, 2019
NGSystemColorComparison Uncomment a line Jun 10, 2019
.gitignore Initial commit Jun 9, 2019
LICENSE Initial commit Jun 9, 2019
README.md

README.md

NGSystemColorComparison

A small app which shows the system UIColors and generates code for backwards compatibility.

Screen Shot 2019-06-09 at 3 21 50 PM

This repo contains an app which lists all the new system colors on UIColor which were introduced in iOS 13+. These colors adapt to the user's preferred color scheme (aka Dark Mode). If you'd like to see the hex values of each system color, you can find them in this app.

This app also generates (by printing to the console on launch) some swift code which will allow you to use the system colors in a backwards compatible way.

Note that compiling and running this app requires Xcode 11 (in beta at the time of writing).

You can’t perform that action at this time.