Latest 1.0.0
Homepage https://github.com/imgly/IMGLYColorPicker
License MIT
Platforms ios 9.0
Frameworks UIKit, CoreGraphics
Authors

CI Status
Version
License
Platform

IMGLYColorPicker is a color picker control for iOS that has been extracted from
the PhotoEditor SDK and made available as open source.
It is written in Swift, compatible with Objective-C and has full support for wide colors.
A user can select a color by hue, saturation, brightness and alpha.

Example

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

Requirements

IMGLYColorPicker is written in Swift 3, so it requires Xcode 8. It is completely compatible with Objective-C and supports iOS 9 and above.

Installation

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

pod "IMGLYColorPicker"

Usage

Instantiate a ColorPickerView instance (or IMGLYColorPickerView if using Objective-C) and add it to your view hierachy:

let colorPickerView = ColorPickerView()
view.addSubview(colorPickerView)

Set the initially displayed color of the color picker:

colorPickerView.color = UIColor.red

Register yourself as a target to receive .valueChanged events whenever the selected color changes:

colorPickerView.addTarget(self, action: #selector(colorPicked(_:)), for: .valueChanged)

Author

9elements GmbH, [email protected]

License

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

Latest podspec

{
    "name": "IMGLYColorPicker",
    "version": "1.0.0",
    "summary": "A color picker control for iOS with support for wide colors written in Swift.",
    "description": "IMGLYColorPicker is a color picker control for iOS that has been extracted fromnthe PhotoEditor SDK (http://www.photoeditorsdk.com) and made available as open source.nIt is written in Swift, compatible with Objective-C and has full support for wide colors.nA user can select a color by hue, saturation, brightness and alpha.",
    "homepage": "https://github.com/imgly/IMGLYColorPicker",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "9elements GmbH": "[email protected]"
    },
    "source": {
        "git": "https://github.com/imgly/IMGLYColorPicker.git",
        "tag": "1.0.0"
    },
    "social_media_url": "https://twitter.com/photoeditorsdk",
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "IMGLYColorPicker/Classes/**/*",
    "resource_bundles": {
        "IMGLYColorPicker": [
            "IMGLYColorPicker/Assets/*.png"
        ]
    },
    "frameworks": [
        "UIKit",
        "CoreGraphics"
    ],
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This