Latest 1.3.2
Homepage https://github.com/HiddenJester/UIColor-WatchKitColors
License MIT
Platforms watchos 2.0
Authors

UIColor-WatchKitColors

CocoaPods Compatible
Carthage compatible

UIColor extension to provide the colors specified in the Apple Watch Design Guides at https://developer.apple.com/watch/human-interface-guidelines/resources/

Sample Image

Usage

Swift

platterBodyGroup.setBackgroundColor(.watchKitPlatterColor)
bodyLabel.setTextColor(.watchKitBodyTextColor)
footnoteLabel.setTextColor(.watchKitFootnoteTextColor)
smallGroup1.setBackgroundColor(.watchKitSmallPlatterColor)
smallGroup2.setBackgroundColor(.watchKitSmallPlatterColor)

Objective-C

[_platterBodyGroup setBackgroundColor:[UIColor watchKitPlatterColor]];
[_bodyLabel setTextColor:[UIColor watchKitBodyTextColor]];
[_footnoteLabel setTextColor:[UIColor watchKitFootnoteTextColor]];

Latest podspec

{
    "name": "WatchKitColors",
    "version": "1.3.2",
    "summary": "UIColor extension to provide the colors specified in the Apple Watch Design Guides",
    "homepage": "https://github.com/HiddenJester/UIColor-WatchKitColors",
    "license": "MIT",
    "authors": {
        "Timothy Sanders": "[email protected]"
    },
    "platforms": {
        "watchos": "2.0"
    },
    "source": {
        "git": "https://github.com/HiddenJester/UIColor-WatchKitColors.git",
        "tag": "v1.3.2"
    },
    "source_files": "WatchKitColors/*.{h,swift}",
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This