I'm relatively new into this and tried a little bit of code, but encountered a problem.
In my App I have a global variable which keeps track wether a user chose his username already or not. Once he has picked his name I want to set this variable permanently to true so I can disable the segue which leads to the Username ViewController.
But I can't preset the variable since the code would re-initialize the variable everytime I re-open the app. And I still got my problems setting it up with UserDefaults.
I hope I was able to explain my problem more or less.