项目作者: younatics

项目描述 :
📌 Pick color in image, make placeholder color like Pinterest!
高级语言: Swift
项目地址: git://github.com/younatics/PickColor.git
创建时间: 2017-05-14T15:27:14Z
项目社区:https://github.com/younatics/PickColor

开源协议:MIT License

下载


PickColor

Version
Carthage Compatible
License: MIT
Build Status
Platform
Swift 4.2

Intoduction

📌 Pick color in your image! It will magically return average color in your UIImage!. Also, you can get hexstring from PickColor

demo

Requirements

PickColor is written in Swift 4.2 Compatible with iOS 9.0+

Installation

Cocoapods

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

  1. pod 'PickColor'

Carthage

  1. github "younatics/PickColor"

Usage

Get UIColor

  1. let UIColor = UIImage.pickColor()

Get HexString

  1. let UIColorHexString = UIImage.pickColorHexstring()

References

Please tell me or make pull request if you use this library in your application :)

Author

younatics
Twitter

License

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