I just created a class and gave it some vars. Unfortunately I can\'t access these variables in my iOS-Projects. However, the same syntax works in playground...<
iOS-Projects
The last two lines need to be inside a function. You can have only declarations in class scope, not expressions to be executed.