title: DatePicker issue in swift
body: <p>I am new to Swift. In my app, I have a date picker concept. My issue is when select date button, date picker is appearing fine suppose I select <code>DEC 20 2015</code>. My issue is when scroll date picker wheel very fast and press done button on my date picker tool bar date is not picking . If I open date picker I want to show previously selected date example <code>DEC 20 2015</code>. But it shows some other dates when I scroll faster. </p>
  
  <pre><code>var datePicker:UIdatePicker
  func dateselcted()
  {
      var date:NSDate = NSDate()
      datePicker.minimumdate = date
      if cell.dateText.characters.count == 0
      {
          //If user not select any date I am showing current date  and working fine
          var dateOb:AnyObject = 
          datePicker.setdate(date ,animated:false)
      }
      else
      {
          // Suppose user select DEC 20 2015 storing this date in one object example below and working fine but it is fails when scroll datepicker wheel very fast then it is showing the other date how to show "DEC 20 2015 " when picker wheel scrolls fastly I want to show date what I selected
  
          var dateOb:AnyObject = DEC 20 2015 
          datePicker.setdate( dateOb as nsdate ,animated:false)
      }    
  }
  </code></pre>