title: Save variable in swift even when app is turned off
body: <p>Do you guys know how to save a var in swift, even when the app is closed.</p>
  
  <p>When someone opens the app on his phone for the first time he can choose a name, what I want is, if he selected a name at the first time. He don't need to choose anymore and the name is saved even when the app is closed and turned on again. </p>
  
  <p>Thanks!</p>