title: How to transfer label data to new controller label after label number is set with button
body: <p>So how i transfer my ViewController label: totalPar to ThirdViewController label: totalPar5. And I want to transfer data that I have added there with my minus and plus buttons</p>
  
  <p>Here is simulator pic that show what I want to transfer</p>
  
  <p><a href="https://i.stack.imgur.com/nutE1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nutE1.png" alt="enter image description here"></a></p>
  
  <p>My ThirdViewController is almost same as ViewController except prepare segue</p>
  
  <p>Here is my ViewController</p>
  
  <pre><code>import UIKit
  
  class ViewController: UIViewController {
  
  @IBOutlet weak var totalPar: UILabel!
  @IBOutlet weak var plusminusPar: UILabel!
  @IBOutlet weak var currentPar: UILabel!
  
  
  var totalPAR = Int()
  var plusminusPAR = 0
  var currentPAR = 0
  
  
  
  override func viewDidLoad() {
      super.viewDidLoad()
  
      // Do any additional setup after loading the view.
  }
  
  
  @IBAction func minusButton(_ sender: Any) {
  
      totalPAR = Int(totalPar.text!)!
      self.totalPar.text = String(totalPAR - 1)
  
      plusminusPAR = Int(plusminusPar.text!)!
      self.plusminusPar.text = String(plusminusPAR - 1)
  
      currentPAR = Int(currentPar.text!)!
      self.currentPar.text = String(currentPAR - 1)
  }
  
  @IBAction func plusButton(_ sender: Any) {
  
      totalPAR = Int(totalPar.text!)!
      self.totalPar.text = String(totalPAR + 1)
  
      plusminusPAR = Int(plusminusPar.text!)!
      self.plusminusPar.text = String(plusminusPAR + 1)
  
      currentPAR = Int(currentPar.text!)!
      self.currentPar.text = String(currentPAR + 1)
  }
  
  
  
  @IBAction func Seuraava(_ sender: Any) {
      self.performSegue(withIdentifier: "next1", sender: Any?.self)
  }
  
  
  @IBAction func seiraava2(_ sender: Any) {
      self.performSegue(withIdentifier: "seuraava2", sender: Any?.self)
  }
  
  
  
  override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
      let thirdviewcontroller = segue.destination as! ThirdViewController
      thirdviewcontroller.totalPAR5 = self.totalPAR
  }
  
  
  }
  </code></pre>