title: MacOS viewWillAppear at Storyboard Segue
body: <p>I am using MacOS. I have two different views, each with an own viewcontroller.
  In the 1st view there is a textfield connected to global variable "test".
  There is button connected with a segue to my 2nd view (I dont know if kind "show, modal, sheet, popover or custom" make any difference.)</p>
  
  <p>When I change the value of "test" in my 2nd view the 1st view can work with the changed value - but when I just close the 2nd view the textfield doesnt get updated.</p>
  
  <p>I tried to update "test" in "viewWillAppear".
  If I hide the project and bring it back "test" gets updated. But I want to have it instantly updated.
  May anyone help me? Thanks</p>