Socket
Socket
Sign inDemoInstall

github.com/hayashi311/Color-Picker-for-iOS

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/hayashi311/Color-Picker-for-iOS


Version published
Created
Source

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

ColorSpaceDescription
.extendedSRGBThe extended sRGB is color space for support wider and deeper representation of color.
.sRGBsRGB (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.

FAQs

Package last updated on 03 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc