title: Argument type 'Any' expected to be an instance of a class or class-constrained type
body: <p>I Am trying to build a reminders app and am running into a problem.</p>
  <p>i have a function,</p>
  <pre><code>override func prepare(for segue: UIStoryboardSegue, sender: Any?)
  {
      
      if saveButton === sender {
          let name = reminderTextField.text
          var time = timePicker.date
          let timeInterval = floor(time.timeIntervalSinceReferenceDate/60)*60
          time = NSDate(timeIntervalSinceReferenceDate: timeInterval) as Date
          
          //build; notification
          let notification = UILocalNotification()
          notification.alertTitle = &quot;Reminder&quot;
          notification.alertBody = &quot;Don't forget to \(name!)!&quot;
          notification.fireDate = time
          notification.soundName = UILocalNotificationDefaultSoundName
          
          UIApplication.shared.scheduleLocalNotification(notification)
          
          reminder = Reminder(name: name!, time: time as NSDate, notification: notification)
      }
  }
  </code></pre>
  <p>and it says, <strong>Argument type 'Any' expected to be an instance of a class or class-constrained type</strong>
  how do I fix this?</p>