I want to pass a string between two Interface Controllers. On InterfaceController1 I want to create a variable like:
var level:String = ("easy")
and then be able to access that variable on InterfaceController2.
I would prefer not to use global variables as I am aware that they are not recommended.
There is one answer on StackOverFlow but it was created when Swift 1 was out and I can't find any up to date anwser.
Thanks