Latest 0.1.0
Homepage https://github.com/robipresotto/imageColors
License MIT
Platforms ios 8.0, requires ARC
Authors

[![CI Status](http://img.shields.io/travis/Robinson Presotto/ImageColors.svg?style=flat)](https://travis-ci.org/Robinson Presotto/ImageColors)
Version
License
Platform

Usage

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

alt tag

UIImage.getColors({ (imageColors) -> Void in

    let primaryColor = imageColors.primaryColor
    let secondaryColor = imageColors.secondaryColor
    let backgroundColor = imageColors.backgroundColor
    let detailColor = imageColors.detailColor
    let allColors = imageColors.allColors

})

Requirements

Installation

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

pod "ImageColors"

Author

Robinson Presotto, [email protected]

License

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

Latest podspec

{
    "name": "ImageColors",
    "version": "0.1.0",
    "summary": "Get the colours that matter.",
    "description": "UIImage category to get the image colors.",
    "homepage": "https://github.com/robipresotto/imageColors",
    "license": "MIT",
    "authors": {
        "Robinson Presotto": "[email protected]"
    },
    "source": {
        "git": "https://github.com/robipresotto/imageColors.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "ImageColors": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This