Skip to content

michelet/STColorPicker

Repository files navigation

STColorPicker

A color picker presented in a UIView (you can add this color picker to a UIPopoverController or a simple UIViewController).

STColorPicker screenshot

Installation

Please use CocoaPods and include STColorPicker in your Podfile.

Demo

Build and run the project STColorPickerExample in Xcode to see STColorPicker in action.

Example Usage

STColorPicker *colorPicker = [[STColorPicker alloc] initWithFrame:CGRectMake(0.0, 0.0, 200.0, 180.0)];
[colorPicker setColorHasChanged:^(UIColor *color, CGPoint location) {
    NSLog(@"New color: %@", color);
}];
[self.view addSubview:colorPicker];

Contact

Sebastien Thiebaud

License

STColorPicker is available under the MIT license.

About

A color picker presented in a UIView

Resources

License

Stars

Watchers

Forks

Packages

No packages published