Colorful

master

Colorful: iOS color picker built with Swift.
hayashi311/Color-Picker-for-iOS

Colorful

CI Status Version License Platform

How to use it

Podfile

platform :ios, '10.0'
pod "Colorful", "~> 3.0"

Install

$ pod install

Usage

let colorPicker = ColorPicker(frame: ...)
colorPicker.addTarget(self, action: #selector(...), for: .valueChanged)
colorPicker.set(color: .red, colorSpace: .extendedSRGB)
view.addSubview(colorPicker)

You can receive .valueChanged event when user changes color.

Reason why you choose colorful

Beautiful UI with haptic feedback.

Wide color space support

ColorSpace Description
.extendedSRGB The extended sRGB is color space for support wider and deeper representation of color.
.sRGB sRGB (standard Red Green Blue) is often the "default" color space for images that contain no color space information

Dark mode support

Requirements

iOS11 ~

License

Colorful is available under new BSD License. See the LICENSE file for more info.

Description

  • Swift Tools 5.1.0
View More Packages from this Author

Dependencies

  • None
Last updated: Sat Nov 02 2024 07:49:30 GMT-0900 (Hawaii-Aleutian Daylight Time)