Latest 0.1.0
Homepage https://github.com/lllovesmatt/UIColorHexRGB
License MIT
Platforms ios 8.0
Authors

Version
License
Platform

UIColor Method to convert Hex to RGB, written in Objective-C.

Use

Quickly take a Hex color (#xxxxxx) and convert it to a UIColor.

NSString *orange = @"EF5225";
self.view.backgroundColor = [UIColor colorWithHexString:orange];

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

iOS 8

Installation

UIColorHexRGB is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "UIColorHexRGB"

Author

Matthew Ramsden, [email protected]

License

UIColorHexRGB is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "UIColorHexRGB",
    "version": "0.1.0",
    "summary": "UIColor Method to convert Hex to RGB.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/lllovesmatt/UIColorHexRGB",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Matthew Ramsden": "[email protected]"
    },
    "source": {
        "git": "https://github.com/lllovesmatt/UIColorHexRGB.git",
        "tag": "0.1.0"
    },
    "social_media_url": "https://twitter.com/matthewramsden",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "UIColorHexRGB/Classes/*"
}

Pin It on Pinterest

Share This