i've implemented this switch statement within my code, and it worked perfectly fine until i restarted Xcode. Now it hits me with this error:
I clearly declared the variable in the above line of code. This was not a problem a couple of minutes ago. Is this just Xcode acting up?