Swift Delegate Passing Information
<p>I am having trouble conforming to the delegate and passing information between two view controllers. I can't seem to understand what I am doing wrong. I want to be able to pass information from one segmented control in CustomCell VC, to receive and display it after a button has been tapped in the CreateEvent VC. Here is the relevant code:</p>

<p>CustomCell VC: </p>

<pre><code> class CustomCell: CreateEventVCDelegate {

      var ageDescription : String = String() // setup global variable

      func sendageDesciptiongetData(data:String) {
          print(ageDescription)
      }

      @IBAction func ageChanged(sender: UISegmentedControl) {
          switch age.selectedSegmentIndex {
          case 0:
               print("Under 18")
               var ageDescription = "under 18"
          case 1:
               print("Over 18")
               var ageDescription = "over 18"
          case 2:
               print("Strictly over 21")
               var ageDescription = "strictly over 21"
          default:
               print("Other")

    }

}

 }
</code></pre>

<p>CreateEvent VC: </p>

<pre><code> protocol CreateEventVCDelegate {
      func sendageDescriptiongetData(ageDescription: String)
 }

 class CreateEventVC: UIViewController {

      var delegate: CreateEventVCDelegate?

      @IBAction func saveButtonTapped(sender: UIBarButtonItem) {
           var ageDescription = ""

           delegate!.sendageDescriptiongetData(ageDescription)


      }

}
</code></pre>