Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.57 KB

README.md

File metadata and controls

51 lines (35 loc) · 1.57 KB

SimpleColorPicker

[![CI Status](http://img.shields.io/travis/Daniel Olshansky/SimpleColorPicker.svg?style=flat)](https://travis-ci.org/Daniel Olshansky/SimpleColorPicker) Version License Platform

What is it

SimpleColorPicker is a very simple, vertical, snapchat-like, color picker for iOS.

Alt text

Installation

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

pod "SimpleColorPicker"

Usage

Import

#import "SimpleColorPickerView.h"

Initialize

SimpleColorPickerView *simpleColorPickerView = [[SimpleColorPickerView alloc] initWithFrame:yourRect withDidPickColorBlock:^(UIColor *color) {
  // Your code here
}];

Add

  [yourView addSubview:simpleColorPickerView];

Example Project

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

Author

Daniel Olshansky, [email protected]

License

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