Latest 1.0.1
Homepage https://github.com/ianweng/UIColor-MaterialDesignColor
License MIT
Platforms ios 8.0, requires ARC
Authors

pod
license

Objective-c UIColor + Google Material Design Color


/* version 500 */

+ (instancetype)mdc_red;
+ (instancetype)mdc_purple;
+ (instancetype)mdc_deep_purple;
+ (instancetype)mdc_indigo;
+ (instancetype)mdc_blue;
+ (instancetype)mdc_light_blue;
+ (instancetype)mdc_cyan;
+ (instancetype)mdc_teal;
+ (instancetype)mdc_green;
+ (instancetype)mdc_light_green;
+ (instancetype)mdc_lime;
+ (instancetype)mdc_yellow;
+ (instancetype)mdc_amber;
+ (instancetype)mdc_orange;
+ (instancetype)mdc_deep_orange;
+ (instancetype)mdc_brown;
+ (instancetype)mdc_grey;
+ (instancetype)mdc_blue_grey;
+ (instancetype)mdc_white;
+ (instancetype)mdc_black;

/* versions */

typedef NS_ENUM(NSInteger, mdc_version) {
  mdc_v50,
  mdc_v100,
  mdc_v200,
  mdc_v300,
  mdc_v400,
  mdc_v500,
  mdc_v600,
  mdc_v700,
  mdc_v800,
  mdc_v900,
  mdc_vA100,
  mdc_vA200,
  mdc_vA400,
  mdc_vA700,
};

+ (instancetype)mdc_red:(mdc_version)version;
+ (instancetype)mdc_purple:(mdc_version)version;
+ (instancetype)mdc_deep_purple:(mdc_version)version;
+ (instancetype)mdc_indigo:(mdc_version)version;
+ (instancetype)mdc_blue:(mdc_version)version;
+ (instancetype)mdc_light_blue:(mdc_version)version;
+ (instancetype)mdc_cyan:(mdc_version)version;
+ (instancetype)mdc_teal:(mdc_version)version;
+ (instancetype)mdc_green:(mdc_version)version;
+ (instancetype)mdc_light_green:(mdc_version)version;
+ (instancetype)mdc_lime:(mdc_version)version;
+ (instancetype)mdc_yellow:(mdc_version)version;
+ (instancetype)mdc_amber:(mdc_version)version;
+ (instancetype)mdc_orange:(mdc_version)version;
+ (instancetype)mdc_deep_orange:(mdc_version)version;
+ (instancetype)mdc_brown:(mdc_version)version;
+ (instancetype)mdc_grey:(mdc_version)version;
+ (instancetype)mdc_blue_grey:(mdc_version)version;

Installation

CocoaPods

  1. Add the following line in the project’s Podfile file:
    pod 'UIColor+MaterialDesignColor'.
  2. Run the command pod install from the Podfile folder directory.

UIColor+MaterialDesignColor has no dependencies over other pods.

License

The MIT License (MIT)

Copyright (c) 2016 Ian Weng | [email protected]

Latest podspec

{
    "name": "UIColor+MaterialDesignColor",
    "version": "1.0.1",
    "summary": "Objective-c UIColor + Google Material Design Color",
    "homepage": "https://github.com/ianweng/UIColor-MaterialDesignColor",
    "license": "MIT",
    "authors": {
        "Ian Weng": "[email protected]"
    },
    "source": {
        "git": "https://github.com/ianweng/UIColor-MaterialDesignColor.git",
        "branch": "master",
        "tag": "1.0.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Classes/*"
}

Pin It on Pinterest

Share This