title: Saving Variables on app exit
body: <p>I have a simple iPhone app in swift with multiple views and a list of 5 different items that have variables attached to them that get passed to each new view no matter where the user is in the app.</p>
  
  <p>Example:</p>
  
  <pre><code>    var Peron1 = String()
      var Person1Age = Int()
      var Person1Switch = Bool()
  </code></pre>
  
  <p>(Imagine that but for 5 people)</p>
  
  <p>Basically I want to program the app so when the user quits and returns to the app the variables they have entered into the app already are restored and then can continue to be manipulated. What is the best way to do this? Also I don't want to include a save or restore button. </p>