项目
在 GitHub 查看
hayashi311/Color-Picker-for-iOS
关于
Colorful:使用 Swift 构建的 iOS 取色器。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Colorful
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.
探索相关项目
加载中…