Access a variable in another script from one script

Hello,
I have just started programming with Swift and I have a little question. I reprogrammed a quiz app from a tutorial and now have the following problem:
I have a main screen and a result screen. The score is counted in the first view controller and now I need this score in the second view controller. How can I access the variable in the first from the second controller?
Thank you!
Access a variable in another script from one script
 
 
Q