Delegate error in swift 2
<p>I'm having trouble passing data after run App.I'm pretty much trying to change a label from the previous view controller after selecting a table view cell
Could anyone help me go about there error?</p>

<blockquote>
  <p>view controller</p>
</blockquote>

<pre><code>class AircraftSearch: UIViewController ,SendbackDelegate{

    @IBOutlet weak var Mabda: UIButton!
    @IBOutlet weak var maghsad: UIButton!
    @IBOutlet weak var labelcity: UILabel!


    var Airurl = NSURL()
    var ScrOrDstArray = [MabdaAndMaghsad]()
    var origin = [String]() // save mabda
    var purpose = [String]() // save maghsad
    var sendDataToTableview = [String]()




    override func viewDidLoad() {
        super.viewDidLoad()
        GetPassCity()

    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

    @IBAction func selectMabda(sender: AnyObject) {
        sendDataToTableview = origin
        performSegueWithIdentifier("SelectedCellSegue", sender: sender)


    }

    @IBAction func selectMaghsad(sender: AnyObject) {
        sendDataToTableview = purpose
        print(sendDataToTableview)
        performSegueWithIdentifier("SelectedCellSegue", sender: sender)

    }


    func originAndpurpose() {
        let dataCity = ScrOrDstArray
        for i in dataCity{

            if i.SrcOrDst == true{
                origin.append(i.Name)
            }else{
                purpose.append(i.Name)
            }
        }
    }



    func GetPassCity(){
        let actInd : UIActivityIndicatorView        = UIActivityIndicatorView(frame: CGRectMake(0,0, 50, 50)) as UIActivityIndicatorView
        actInd.center                           = self.view.center
        actInd.hidesWhenStopped                 = true
        actInd.activityIndicatorViewStyle       = UIActivityIndicatorViewStyle.Gray
        view.addSubview(actInd)
        actInd.startAnimating()

        NSURLSession.sharedSession().dataTaskWithURL(Airurl){ ( data ,response ,error) in
            if error != nil{
                print("A")
                print(error!)
            }else{

                do{
                    //readin data from Server
                    let posts   = try NSJSONSerialization.JSONObjectWithData(data!, options: NSJSONReadingOptions.MutableContainers) as! [[String:AnyObject]]
                    //save data
                    for post in posts{
                        var postCity:MabdaAndMaghsad?
                        if  let  Id         = post["Id"]        as? Int     ,
                            let nameCity    = post["Name"]      as? String  ,
                            let SrcOrDst    = post["SrcOrDst"]  as? Bool
                        {
                            postCity    = MabdaAndMaghsad(ID: Id, Name: nameCity, SrcOrDst: SrcOrDst)
                        }
                        self.ScrOrDstArray.append(postCity!)

                    }

                    //===============

                    dispatch_async(dispatch_get_main_queue()){
                        actInd.stopAnimating()
                        self.originAndpurpose()
                       print(self.origin)
                        print("=======")
                     //   print(self.purpose)
                    }

                }catch let error as NSError{

                    print("B")
                    print(error)
                }
            }


            }.resume()

    }


    func sendNameToPreviousVC(SelectCity: String) {
        labelcity.text = SelectCity

    }


    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        if segue.identifier == "SelectedCellSegue" {
            if let VC = segue.destinationViewController as? SelectedCity {

                VC.toTake = sendDataToTableview
                VC.delegate = self
            }
        }

    }

}
</code></pre>

<blockquote>
  <p>and tableview Controller
  import UIKit
  protocol SendbackDelegate:class {
      func sendNameToPreviousVC(City:String)
  }</p>
</blockquote>

<pre><code>class SelectedCity: UITableViewController {
    var toTake = [String]()
    var selecteCity = String()
    weak var delegate: SendbackDelegate? = nil

    override func viewDidLoad() {
        super.viewDidLoad()


    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

    // MARK: - Table view data source


    override func numberOfSectionsInTableView(tableView: UITableView) -&gt; Int {
        // #warning Incomplete implementation, return the number of sections
        return 1
    }

    override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
        // #warning Incomplete implementation, return the number of rows
        return toTake.count ?? 0

    }

    override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {
        let cell = tableView.dequeueReusableCellWithIdentifier("stcell", forIndexPath: indexPath) as? mAndMCell

        let nameCity = toTake[indexPath.row]
        print(nameCity)

        cell!.nameCityLabel.text = nameCity
        return cell!
    }

    override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath){

        let indexPath = tableView.indexPathForSelectedRow!
        let currentCell = tableView.cellForRowAtIndexPath(indexPath) as! mAndMCell!

        selecteCity = currentCell.nameCityLabel!.text as String!

        sendBackIdCity(selecteCity)
        navigationController?.popViewControllerAnimated(true)



    }
    func sendBackIdCity(name: String){
        self.delegate?.sendNameToPreviousVC(name)

    }

    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        if segue.identifier == "backCitySegue"{
            var VCOne = segue.destinationViewController as? AircraftSearch
                VCOne.delegate = self


        }
    }



}
</code></pre>

<p>error is line  <code>VCOne.delegate = self</code></p>

<p>error = <code>Value of type 'AircraftSearch?' has no member 'delegate'</code></p>