title: passing data to another view controller with IBAction without segue swift
body: <p>I have got a simple app where I am wanting to pass data to another view controller with a button without segueing to it. SO basically on one view controller I have a text box where the user enters there name, when they press the submit button I want their name to pass to another view controller containing a label but without navigating to that view, staying on the view controller that has the submit button</p>
  
  <p>THis is my IBAction for the button to submit the data:</p>
  
  <pre><code> @IBAction func addPlant(sender: AnyObject)
   {  
   }
  </code></pre>