RLHSBColorPicker
is a HSBA color picker like sip color app.
##Installation
Add the RLRoundView
RLHSBSlider``RLColorPicker
RLColorGradient
to your proj.
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];
}
When add the alpha slider bar, if the hue or alpha value equle to 0, the other slider bar can not move and touch.😂
MIT-License