title: Getting error value of type 'any' has no member 'value'
body: <p>Learning Swift and created a app where there is just a label and a slider. I want the slider to change the label as it slides.</p>
  
  <p>Here is the func :</p>
  
  <pre><code>@IBAction func sliderChanged(_ sender: Any) {
  
          label.text = String(Int(sender.value))
      }
  </code></pre>
  
  <p>Im getting the error "value of type 'any' has no member 'value' " and if i correct it, it tries to correct the code to :</p>
  
  <pre><code>@IBAction func sliderChanged(_ sender: Any) {
  
          label.text = String(Int((sender as AnyObject).value))
      }
  </code></pre>
  
  <p>But still there is an error of </p>
  
  <blockquote>
    <p>Ambiguous use of 'value'</p>
  </blockquote>