title: Value of type 'UIViewController' has no member 'newExerciseDelegate'
body: <p>I've searched for a solution to this problem, even tried following a few tutorials to try to solve this, but for some reason I'm ending up with the same issue. I'm attempting to pass a custom object to a different view controller, but every time I try I get the error "Value of type 'UIViewController' has no member 'newExerciseDelegate'"</p>
  
  <p>My delegate: </p>
  
  <pre><code>protocol exerciseDelegate {
  func savedExercise(newExercise: Exercise)
  </code></pre>
  
  <p>}</p>
  
  <p>my sending VC uses the following code: </p>
  
  <pre><code>var newExerciseDelegate: exerciseDelegate!
  .
  .
  .
  @IBAction func saveExerciseWasPressed(_ sender: UIButton) {
      if (checkFields() == true){
          newExercise = Exercise(name: exerciseNameField.text!, weight: Int32(weightField.text!)!, reps: Int32(numberOfRepsField.text!)!, sets: Int32(numberOfSetsField.text!)!, muscleGroupFocus: .cardio)
          newExerciseDelegate.savedExercise(newExercise: newExercise)
          dismiss(animated: false, completion: nil)
      }
  }
  </code></pre>
  
  <p>My receiving VC uses the following code:</p>
  
  <pre><code>    @IBAction func addExerciseBtnWasPressed(_ sender: Any) {
      guard let newExerciseVC = storyboard?.instantiateViewController(withIdentifier: "NewExerciseVC") else { return }
      newExerciseVC.newExerciseDelegate = self // error present on this line
      presentDetail(newExerciseVC)
  }
  </code></pre>
  
  <p>I'm sure it's a stupid mistake, but I'm not seeing it. Any help is appreciated, thank you. </p>