title: Changing the Range of a UISlider Programmatically
body: <p>How is it possible to set the min max ranges of the UISlider programmatically?</p>
  
  <p>For example (dummy code)</p>
  
  <pre><code>UISlider* slider = [[UISlider alloc] init];
  slider.min = -3;
  slider.max = 3;
  </code></pre>
  
  <p>EDIT:</p>
  
  <p>So I have the following:</p>
  
  <pre><code>sl.minimumValue = 5;
  NSLog(@"MIN VAL: %d", sl.minimumValue);
  </code></pre>
  
  <p>This doesn't work, I still get it logging the value 0. Is this because I have set values in interface builder?</p>