lib/isd-color-palette/view/isd_rgba_slider_view.rb
  def initWithCorder decode
    super
    self
  end
def initWithCorder decode
super
self
end
def initWithCorder decode super self end
def awakeFromNib
    l = self.layer
    l.borderColor = :white.uicolor.cgcolor
    l.borderWidth = 3
    l.cornerRadius = 4
    @slider = UISlider.new
    @slider.frame = CGRectInset sliderBaseView.bounds, 0, 8
    rad = -90 * Math::PI / 180
    @slider.transform = CGAffineTransformMakeRotation(rad)
    sliderBaseView << @slider
    @slider.addTarget self, action:"didChangeValue:", forControlEvents:UIControlEventValueChanged
  end
def awakeFromNib l = self . layer l . borderColor = :white . uicolor . cgcolor l . borderWidth = 3 l . cornerRadius = 4 @slider = UISlider . new @slider . frame = CGRectInset sliderBaseView . bounds , 0 , 8 rad = - 90 * Math :: PI / 180 @slider . transform = CGAffineTransformMakeRotation ( rad ) sliderBaseView << @slider @slider . addTarget self , action : "didChangeValue:" , forControlEvents : UIControlEventValueChanged end
def initWithCorder decode
super
self
end
def initWithCorder decode super self end
# setup slider