title: What is the simplest way to modify variable by using the Button for later use of that variable in another View Controller?
body: <p>I have two view controllers. One VC with a button and a label and one VC only with a label. I  created button action that can modify variable (declared in the class of that first viewcontroller) if the button is pressed and I can show that MODIFIED variable as the label in that same VC but my intent is to show that MODIFIED variable on another VC.</p>
  
  <p>I want to use that button to go to the second VC where the modified variable should be displayed on the label when that VC is displayed. In first VC I declared:
  var myVariable: String = "default" 
  In the button action:
  {myVariable = "700"}
  In second VC I declared:
  let vc1: ViewController1 = ViewController1()</p>
  
  <p>I assigned an action to the button in first VC (dragging to second VC to show the second VC) and in viewdidload of the second VC I try to acces the variable from first VC with:
  label.text = vc1.myVariable and it accesses it but ...
  ...but the result is DECLARED/notMODIFIED state of variable. So if I show myVariable on same VC it is OK but on the second VC myVariable was not changed by the button action on the first VC.</p>
  
  <p>I am trying to avoid delegation as it seems complicated..</p>
  
  <p>What is the easiest way to accomplish task? Thank you guys.</p>