HueKit是一个iOS的UI框架,为构建拾色器提供组件和工具

网友投稿 694 2022-11-04

HueKit是一个iOS的UI框架,为构建拾色器提供组件和工具

HueKit是一个iOS的UI框架,为构建拾色器提供组件和工具

About

HueKit is a UI framework for iOS that provides components and utilities for building color pickers. Since each app may want a custom color picker, the design of this framework is geared towards reusability and allows for great customization.

Components

All components are marked open, so they can be subclassed. Also, all components are marked @IBDesignable, so they can be previewed in Interface Builder. Components that provide user interaction are subclassed from UIControl, you can observe a change in value by using @IBAction.

ColorBarPicker

ColorBarView

ColorIndicatorView

ColorSquarePicker

ColorSquareView

SourceColorView

Installation

CocoaPods

To install, add the following line to your Podfile:

pod 'HueKit', '~> 1.0'

Carthage

To install, add the following line to your Cartfile:

github "louisdh/huekit" ~> 1.0

Run carthage update to build the framework and drag the built HueKit.framework into your Xcode project.

Requirements

iOS 10.0+Xcode 9.3+

Todo

Add tests Add documentation

License

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

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:辉芒微IO单片机FT60F211-RB
下一篇:pl7501c代换充电管理ICFH5080E可以100%替换PL7501C 无需更改任何电阻电容参数
相关文章

 发表评论

暂时没有评论,来抢沙发吧~