A simple micro-library that gives easy access to Apple's iOS Human Interface Guidelines (HIG) color definitions. Compatible with iOS, watchOS, tvOS, and macOS.
For detailed information on changes, see the changelog.
To install HIGColors using Carthage, add the following to your Cartfile:
github "hisaac/HIGColors"
To install HIGColors using Cocoapods, add the following to your Podfile:
pod 'HIGColors'
To use this library in your project, first import the library like so:
import HIGColors
#import "HIGColors"
Then, you can reference the colors a few different ways. The library includes definitions for UIColor
, NSColor
, and CGColor
, as well as a color set in an asset catalog so that the colors can be used in Interface Builder.
let higRed = HIGColors.red