Skip to content

neuneed/RLHSBColorPicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RLHSBColorPicker

RLHSBColorPicker is a HSBA color picker like sip color app.

Screenshot

RLHSBColorPicker Screenshot

##Installation Add the RLRoundView RLHSBSlider``RLColorPicker RLColorGradient to your proj.

Example usage

To add a color picker view:

#import "RLHSBSlider.h"
...

RLColorPicker * colorPicker  = [[RLColorPicker alloc]initWithColor:nil withFrame:CGRectMake(x, y,width,height)];
colorPicker.delegate = self;
[self.view addSubview:colorPicker];

To get color:

<RLColorPickerDelegate>
...
 
-(void)getPickerColor:(UIColor *)color formPicker:(UIView *)picker
{
  [someView setBackgroundColor:color];
}

Existing bug:

When add the alpha slider bar, if the hue or alpha value equle to 0, the other slider bar can not move and touch.😂

Contact

[email protected]

License

MIT-License

About

HSB color picker like sip color app in objective-c.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published