title: CGFloat MinimumValue vs CurrentValue
body: <p>I created a custom slider with a uiview class ... everything works fine but I just have a problem ...</p>
  
  <p>in my view controller implements the Custom Slider class this way</p>
  
  <p><strong>Main ViewController</strong></p>
  
  <pre><code>#pragma mark SMALL STATS
  -(KPStatsSlider *)statsSlider {
      if (!_statsSlider) {
          _statsSlider = [[KPStatsSlider alloc] init];
          _statsSlider.minimumValue = 18;
          _statsSlider.maximumValue = 30;
          _statsSlider.currentValue = 12;
  
  
          _statsSlider.translatesAutoresizingMaskIntoConstraints = NO;
          [self.view addSubview:self.statsSlider];
  
          [self.statsSlider.topAnchor constraintEqualToAnchor:self.view.topAnchor constant:115].active = YES;
          [self.statsSlider.rightAnchor constraintEqualToAnchor:self.view.rightAnchor constant:0].active = YES;
          [self.statsSlider.heightAnchor constraintEqualToConstant:70].active = YES;
          [self.statsSlider.leftAnchor constraintEqualToAnchor:self.view.centerXAnchor constant:0].active = YES;
  
      }
      return _statsSlider;
  }
  </code></pre>
  
  <p>as you can see, I can assign the value:
  <strong>Current /
  Minimum /
  Maximum</strong></p>
  
  <p>In my personalized UIView I implemented this feature to prevent the CurrentValue value being smaller than MinimumValue but I can not get it running can you help me with this?</p>
  
  <p><strong>Custom Slider UIView</strong></p>
  
  <pre><code>- (instancetype)initWithFrame:(CGRect)frame {
      self = [super initWithFrame:frame];
      if (self) {
          self.backgroundColor = [UIColor clearColor];
          [self defaultValue];
          [self setupStatsTitle];
          [self trackLine];
  
  
          if (self.currentValue &lt;= self.minimumValue) {
              self.currentValue = self.minimumValue;
          }
  
      }
      return self;
  }
  </code></pre>