In lesson 11 for the @State properties, when I am referencing them in the Button action section, an error gets thrown up that I have to explicitly reference the self property.
This occurs with both the numerical and card variables. So for example, rather than writing:
playerScore ±= 1
I have to use:
self.playerScore += 1
What is the reason for this? I am initiating the State variable in the correct section of the content view structure.